mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 23:10:11 -04:00
Add some missing ftdetect files
This commit is contained in:
parent
dedd74ebdb
commit
950932f0c2
7 changed files with 11 additions and 0 deletions
5
ftdetect/fish.vim
Normal file
5
ftdetect/fish.vim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
autocmd BufRead,BufNewFile *.fish setfiletype fish
|
||||
autocmd BufRead *
|
||||
\ if getline(1) =~# '\v^#!%(\f*/|/usr/bin/env\s*<)fish>' |
|
||||
\ setfiletype fish |
|
||||
\ endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue