From 8202504915df2397bdf7f1896b483c966ce35e5b Mon Sep 17 00:00:00 2001 From: Mohammed Elwardi Fadeli <34474472+FoamScience@users.noreply.github.com> Date: Wed, 15 Dec 2021 13:16:27 +0100 Subject: [PATCH] Fix bug with ftdetect foam --- after/ftdetect/foam.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/after/ftdetect/foam.vim b/after/ftdetect/foam.vim index dcd77c75b..56cf98263 100644 --- a/after/ftdetect/foam.vim +++ b/after/ftdetect/foam.vim @@ -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("%"))