summaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
authorMohammed Elwardi Fadeli <34474472+FoamScience@users.noreply.github.com>2021-12-15 13:16:27 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-08 13:20:52 +0100
commit8202504915df2397bdf7f1896b483c966ce35e5b (patch)
treef701ae80d92a28456d759caef535599491b21dcd /after
parent0fc5e2f21299bbec160f36b612d1e73b7b8f1407 (diff)
Fix bug with ftdetect foam
Diffstat (limited to 'after')
-rw-r--r--after/ftdetect/foam.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/ftdetect/foam.vim b/after/ftdetect/foam.vim
index dcd77c75..56cf9826 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("%"))