mirror of
https://github.com/khaveesh/vim-fish-syntax.git
synced 2026-09-14 01:06:14 -04:00
7 lines
162 B
VimL
7 lines
162 B
VimL
au BufNewFile,BufRead *.fish set ft=fish
|
|
|
|
autocmd BufNewFile,BufRead,StdinReadPost *
|
|
\ if getline(1) =~ '^#!.*\Wfish\s*$' |
|
|
\ set ft=fish |
|
|
\ endif
|