Add orgmode support

This commit is contained in:
Adam Stankiewicz
2018-12-26 11:36:38 +01:00
parent cad135aa01
commit e99f88ff00
8 changed files with 842 additions and 1 deletions

View File

@@ -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