From e99f88ff0089ba78346143eaffaa7c8bf728dca2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 26 Dec 2018 11:36:38 +0100 Subject: Add orgmode support --- ftdetect/polyglot.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ftdetect') 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 -- cgit v1.2.3