From 6aeaff12202e360b0e82f27b0ac2802c4c2366e1 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 3 Jan 2022 19:29:46 +0100 Subject: vim-patch:8.2.3995: not all sshconfig files are detected as such (#16899) Problem: Not all sshconfig files are detected as such. Solution: Adjust the patterns used for sshconfig detection. (David Auer, closes vim/vim#9322) https://github.com/vim/vim/commit/9acf2d8be93f3b50607279e7f3484b019675d0a7 --- runtime/filetype.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 1f9b90ed78..07969b3418 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1774,8 +1774,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 -- cgit