mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
5 lines
165 B
VimL
5 lines
165 B
VimL
autocmd BufRead,BufNewFile *.fish setfiletype fish
|
|
autocmd BufRead *
|
|
\ if getline(1) =~# '\v^#!%(\f*/|/usr/bin/env\s*<)fish>' |
|
|
\ setfiletype fish |
|
|
\ endif
|