summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorDawid Potocki <dawid@dawidpotocki.com>2020-11-17 15:58:46 +0000
committerGitHub <noreply@github.com>2020-11-17 16:58:46 +0100
commitda18fe6851e95e146016f7abd2f799056e074cd9 (patch)
tree2e2213e98e0d50a0adb226cdbd432da9a34f3654 /ftdetect/polyglot.vim
parent4af1321588c7dcb718022226cb27ec325973c2f0 (diff)
downloadvim-polyglot-da18fe6851e95e146016f7abd2f799056e074cd9.tar.gz
vim-polyglot-da18fe6851e95e146016f7abd2f799056e074cd9.zip
Fix neovim :Tutor filetype detection (#631)
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index edfba1d7..5fa6bde3 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1856,6 +1856,10 @@ if !has_key(g:polyglot_is_disabled, 'twig')
au BufNewFile,BufRead *.xml.twig setf xml.twig
endif
+if !has_key(g:polyglot_is_disabled, 'tutor')
+ au BufNewFile,BufRead *.tutor setf tutor
+endif
+
if !has_key(g:polyglot_is_disabled, 'tptp')
au BufNewFile,BufRead *.ax,*.p,*.tptp setf tptp
endif