mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -04:00
Change OpenFOAM file detection auto-cmds
This commit is contained in:
parent
efaf985b24
commit
8b336e61d8
1 changed files with 1 additions and 1 deletions
|
|
@ -9,5 +9,5 @@ function! s:foamFile(path)
|
|||
endfor
|
||||
endfunction
|
||||
|
||||
autocmd BufNewFile,BufRead * call s:foamFile(expand("%"))
|
||||
autocmd FileType BufNewFile,BufRead *Dict,*Properties,fvSchemes,fvSolution,*/constant/g,*/0/* call s:foamFile(expand("%"))
|
||||
autocmd FileType cpp call s:foamFile(expand("%"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue