From a817ed36a488d209dbfdc674bbbb4189a0db966e Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Fri, 19 Jan 2024 14:34:31 +0100 Subject: [PATCH] added syntax highlighting to individual ssh configs inside the .ssh directory --- vim/.vim/filetype.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/.vim/filetype.vim b/vim/.vim/filetype.vim index 94ade89..37f1611 100644 --- a/vim/.vim/filetype.vim +++ b/vim/.vim/filetype.vim @@ -1,2 +1,3 @@ au BufNewFile,BufRead known_hosts setfiletype knownhosts +au BufNewFile,BufRead ssh_config,*/.ssh/conf.d/*,*/.ssh/config.d/* setfiletype sshconfig au BufNewFile,BufRead *.conf setfiletype conf