diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 | ||||
-rw-r--r-- | runtime/scripts.vim | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 02faafc85f..9f86b246f8 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -613,6 +613,9 @@ autocmd BufRead,BufNewFile *.fnl setf fennel " Fetchmail RC file au BufNewFile,BufRead .fetchmailrc setf fetchmail +" Fish shell +au BufNewFile,BufRead *.fish setf fish + " FlexWiki - disabled, because it has side effects when a .wiki file " is not actually FlexWiki "au BufNewFile,BufRead *.wiki setf flexwiki diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 79fd0a77e9..0ff8e49088 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -194,6 +194,10 @@ if s:line1 =~# "^#!" elseif s:name =~# 'rsc\>' set ft=routeros + " Fish shell + elseif s:name =~# 'fish\>' + set ft=fish + endif unlet s:name |