Patch 9.0.0566
Problem: Nim files are not recognized.
Solution: Add patterns for Nim files. (Nbiba Bedis, closes #11205)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.0565/runtime/filetype.vim 2022-09-23 20:33:36.207217264 +0100
--- runtime/filetype.vim 2022-09-24 11:03:47.497865787 +0100
***************
*** 1278,1283 ****
--- 1278,1286 ----
" Nginx
au BufNewFile,BufRead *.nginx,nginx*.conf,*nginx.conf,*/etc/nginx/*,*/usr/local/nginx/conf/*,*/nginx/*.conf setf nginx
+ " Nim file
+ au BufNewFile,BufRead *.nim,*.nims,*.nimble setf nim
+
" Ninja file
au BufNewFile,BufRead *.ninja setf ninja
*** ../vim-9.0.0565/src/testdir/test_filetype.vim 2022-09-23 20:33:36.207217264 +0100
--- src/testdir/test_filetype.vim 2022-09-24 10:58:33.464647969 +0100
***************
*** 387,392 ****
--- 387,393 ----
\ 'neomuttrc': ['Neomuttrc', '.neomuttrc', '.neomuttrc-file', '/.neomutt/neomuttrc', '/.neomutt/neomuttrc-file', 'Neomuttrc', 'Neomuttrc-file', 'any/.neomutt/neomuttrc', 'any/.neomutt/neomuttrc-file', 'neomuttrc', 'neomuttrc-file'],
\ 'netrc': ['.netrc'],
\ 'nginx': ['file.nginx', 'nginxfile.conf', 'filenginx.conf', 'any/etc/nginx/file', 'any/usr/local/nginx/conf/file', 'any/nginx/file.conf'],
+ \ 'nim': ['file.nim', 'file.nims', 'file.nimble'],
\ 'ninja': ['file.ninja'],
\ 'nix': ['file.nix'],
\ 'nqc': ['file.nqc'],
*** ../vim-9.0.0565/src/version.c 2022-09-23 23:19:09.045924621 +0100
--- src/version.c 2022-09-24 11:00:24.191687702 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 566,
/**/
--
hundred-and-one symptoms of being an internet addict:
155. You forget to eat because you're too busy surfing the net.
/// 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 ///