Fix bug with ftdetect foam

This commit is contained in:
Mohammed Elwardi Fadeli 2021-12-15 13:16:27 +01:00 committed by Stephan Seitz
parent 0fc5e2f212
commit 8202504915

View file

@ -9,5 +9,5 @@ function! s:foamFile(path)
endfor
endfunction
autocmd FileType BufNewFile,BufRead *Dict,*Properties,fvSchemes,fvSolution,*/constant/g,*/0/* call s:foamFile(expand("%"))
autocmd BufNewFile,BufRead *Dict,*Properties,fvSchemes,fvSolution,*/constant/g,*/0/* call s:foamFile(expand("%"))
autocmd FileType cpp call s:foamFile(expand("%"))