vim-patch:8.2.3603: fish filetype not recognized (#16337)

Problem:    Fish filetype not recognized.
Solution:   Add a file pattern and match script line. (Doug Kearns)
b1b163efd7
This commit is contained in:
Christian Clason
2021-11-16 18:26:03 +01:00
committed by GitHub
parent 8fb09bc512
commit b5eab2a98a
3 changed files with 9 additions and 0 deletions

View File

@@ -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