mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
Add some missing ftdetect files
This commit is contained in:
parent
33d75f099d
commit
cce29d8b8d
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