summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index f19344d8..a63014d8 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -688,6 +688,14 @@ au! BufRead,BufNewFile *.cl set filetype=opencl
augroup end
endif
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'org') == -1
+ augroup filetypedetect
+ " org, from org.vim in jceb/vim-orgmode
+autocmd BufNewFile,BufRead *.org setfiletype org
+"autocmd BufNewFile,BufReadPost org:todo* setfiletype orgtodo
+ augroup end
+endif
+
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'perl') == -1
augroup filetypedetect
" perl, from mason-in-html.vim in vim-perl/vim-perl