Patch 8.2.3464
Problem:    nginx files are not recognized.
Solution:   Add several file patterns. (Chris Aumann, closes #8922)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.3463/runtime/filetype.vim        2021-09-26 21:55:57.720529413 
+0100
--- runtime/filetype.vim        2021-10-03 11:39:11.786276829 +0100
***************
*** 1143,1148 ****
--- 1143,1151 ----
  " Netrc
  au BufNewFile,BufRead .netrc                  setf netrc
  
+ " Nginx
+ au BufNewFile,BufRead 
*.nginx,nginx*.conf,*nginx.conf,*/etc/nginx/*,*/usr/local/nginx/conf/*,*/nginx/*.conf
                   setf nginx
+ 
  " Ninja file
  au BufNewFile,BufRead *.ninja                 setf ninja
  
*** ../vim-8.2.3463/src/testdir/test_filetype.vim       2021-09-26 
21:55:57.720529413 +0100
--- src/testdir/test_filetype.vim       2021-10-03 11:42:35.474858371 +0100
***************
*** 345,350 ****
--- 345,351 ----
      \ 'nanorc': ['/etc/nanorc', 'file.nanorc', 'any/etc/nanorc'],
      \ 'ncf': ['file.ncf'],
      \ 'netrc': ['.netrc'],
+     \ 'nginx': ['file.nginx', 'nginxfile.conf', 'filenginx.conf', 
'any/etc/nginx/file', 'any/usr/local/nginx/conf/file', 'any/nginx/file.conf'],
      \ 'ninja': ['file.ninja'],
      \ 'nqc': ['file.nqc'],
      \ 'nroff': ['file.tr', 'file.nr', 'file.roff', 'file.tmac', 'file.mom', 
'tmac.file'],
*** ../vim-8.2.3463/src/version.c       2021-10-02 21:48:08.639938510 +0100
--- src/version.c       2021-10-03 11:43:10.731651508 +0100
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     3464,
  /**/

-- 
>From "know your smileys":
 :'-D   Laughing so much that they're crying

 /// 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/20211003104945.F4180C80053%40pakwach.

Raspunde prin e-mail lui