Patch 9.0.0922
Problem: Mermaid files are not recognized.
Solution: Add patterns for Mermaid. (Crag MacEachern)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.0921/runtime/filetype.vim 2022-11-17 18:30:13.184184301 +0000
--- runtime/filetype.vim 2022-11-22 19:10:48.084959447 +0000
***************
*** 1197,1202 ****
--- 1197,1205 ----
" Mercurial config (looks like generic config file)
au BufNewFile,BufRead *.hgrc,*hgrc setf cfg
+ " Mermaid
+ au BufNewFile,BufRead *.mmd,*.mmdc,*.mermaid setf mermaid
+
" Meson Build system config
au BufNewFile,BufRead meson.build,meson_options.txt setf meson
au BufNewFile,BufRead *.wrap setf dosini
*** ../vim-9.0.0921/src/testdir/test_filetype.vim 2022-11-17 18:30:13.184184301 +0000
--- src/testdir/test_filetype.vim 2022-11-22 19:12:44.944938150 +0000
***************
*** 349,354 ****
--- 349,355 ----
\ 'maxima': ['file.demo', 'file.dmt', 'file.dm1', 'file.dm2', 'file.dm3',
\ 'file.wxm', 'maxima-init.mac'],
\ 'mel': ['file.mel'],
+ \ 'mermaid': ['file.mmd', 'file.mmdc', 'file.mermaid'],
\ 'meson': ['meson.build', 'meson_options.txt'],
\ 'messages': ['/log/auth', '/log/cron', '/log/daemon', '/log/debug', '/log/kern', '/log/lpr', '/log/mail', '/log/messages', '/log/news/news', '/log/syslog', '/log/user',
\ '/log/auth.log', '/log/cron.log', '/log/daemon.log', '/log/debug.log', '/log/kern.log', '/log/lpr.log', '/log/mail.log', '/log/messages.log', '/log/news/news.log', '/log/syslog.log', '/log/user.log',
*** ../vim-9.0.0921/src/version.c 2022-11-22 18:18:26.189691616 +0000
--- src/version.c 2022-11-22 19:11:50.636948621 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 922,
/**/
--
hundred-and-one symptoms of being an internet addict:
112. You are amazed that anyone uses a phone without data...let
alone hear actual voices.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///