diff options
author | David Auer <david.auer@credativ.de> | 2022-01-03 17:32:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-03 17:32:46 +0000 |
commit | 9acf2d8be93f3b50607279e7f3484b019675d0a7 (patch) | |
tree | 62a271b65654bae39a03e963a1a63a1c2832378b /runtime | |
parent | ad8f2485856eadb931ebd1f633ca366a40e415b8 (diff) |
patch 8.2.3995: not all sshconfig files are detected as suchv8.2.3995
Problem: Not all sshconfig files are detected as such.
Solution: Adjust the patterns used for sshconfig detection. (David Auer,
closes #9322)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index d34db183d8..c92ae69e1d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1778,8 +1778,8 @@ au BufNewFile,BufRead *.sqr,*.sqi setf sqr au BufNewFile,BufRead *.nut setf squirrel " OpenSSH configuration -au BufNewFile,BufRead ssh_config,*/.ssh/config setf sshconfig -au BufNewFile,BufRead */etc/ssh/ssh_config.d/*.conf setf sshconfig +au BufNewFile,BufRead ssh_config,*/.ssh/config,*/.ssh/*.conf setf sshconfig +au BufNewFile,BufRead */etc/ssh/ssh_config.d/*.conf setf sshconfig " OpenSSH server configuration au BufNewFile,BufRead sshd_config setf sshdconfig |