summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 028b8eb4..5909463b 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1151,6 +1151,10 @@ if index(g:polyglot_disabled, 'fennel') == -1
au BufNewFile,BufRead *.fnl set ft=fennel
endif
+if index(g:polyglot_disabled, 'mcfunction') == -1
+ au BufNewFile,BufRead *.mcfunction set ft=mcfunction
+endif
+
" restore Vi compatibility settings
let &cpo = s:cpo_save
unlet s:cpo_save \ No newline at end of file