mirror of
https://github.com/khaveesh/vim-fish-syntax.git
synced 2026-09-10 07:16:31 -04:00
7 lines
155 B
VimL
7 lines
155 B
VimL
au BufNewFile,BufRead *.fish setf fish
|
|
|
|
autocmd BufNewFile,BufRead,StdinReadPost *
|
|
\ if getline(1) =~ '^#!.*\Wfish\s*$' |
|
|
\ setf fish |
|
|
\ endif
|