Patch 8.2.0927
Problem:    Some sshconfig and ssdhconfig files are not recognized.
Solution:   Add filetype patterns.
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.0926/runtime/filetype.vim        2020-06-01 14:43:55.993243914 
+0200
--- runtime/filetype.vim        2020-06-07 20:07:09.625924452 +0200
***************
*** 1617,1626 ****
  au BufNewFile,BufRead *.sqr,*.sqi             setf sqr
  
  " OpenSSH configuration
! au BufNewFile,BufRead ssh_config,*/.ssh/config        setf sshconfig
  
  " OpenSSH server configuration
! au BufNewFile,BufRead sshd_config             setf sshdconfig
  
  " Stata
  au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata       setf stata
--- 1617,1628 ----
  au BufNewFile,BufRead *.sqr,*.sqi             setf sqr
  
  " OpenSSH configuration
! au BufNewFile,BufRead ssh_config,*/.ssh/config                setf sshconfig
! au BufNewFile,BufRead */etc/ssh/ssh_config.d/*.conf   setf sshconfig
  
  " OpenSSH server configuration
! au BufNewFile,BufRead sshd_config                     setf sshdconfig
! au BufNewFile,BufRead */etc/ssh/sshd_config.d/*.conf  setf sshdconfig
  
  " Stata
  au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata       setf stata
*** ../vim-8.2.0926/src/testdir/test_filetype.vim       2020-06-01 
14:43:55.993243914 +0200
--- src/testdir/test_filetype.vim       2020-06-07 20:06:45.573980506 +0200
***************
*** 428,435 ****
      \ 'sqr': ['file.sqr', 'file.sqi'],
      \ 'squid': ['squid.conf'],
      \ 'srec': ['file.s19', 'file.s28', 'file.s37', 'file.mot', 'file.srec'],
!     \ 'sshconfig': ['ssh_config', '/.ssh/config'],
!     \ 'sshdconfig': ['sshd_config'],
      \ 'st': ['file.st'],
      \ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'],
      \ 'stp': ['file.stp'],
--- 428,435 ----
      \ 'sqr': ['file.sqr', 'file.sqi'],
      \ 'squid': ['squid.conf'],
      \ 'srec': ['file.s19', 'file.s28', 'file.s37', 'file.mot', 'file.srec'],
!     \ 'sshconfig': ['ssh_config', '/.ssh/config', 
'/etc/ssh/ssh_config.d/file.conf', 'any/etc/ssh/ssh_config.d/file.conf'],
!     \ 'sshdconfig': ['sshd_config', '/etc/ssh/sshd_config.d/file.conf', 
'any/etc/ssh/sshd_config.d/file.conf'],
      \ 'st': ['file.st'],
      \ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'],
      \ 'stp': ['file.stp'],
*** ../vim-8.2.0926/src/version.c       2020-06-07 19:38:07.323278741 +0200
--- src/version.c       2020-06-07 20:04:07.670325829 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     927,
  /**/

-- 
Experience is what you get when you don't get what you want.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/202006071808.057I8Ax6108379%40masaka.moolenaar.net.

Raspunde prin e-mail lui