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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220924100518.4D0F51C0728%40moolenaar.net.