diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2018-12-26 11:36:38 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2018-12-26 11:36:38 +0100 |
commit | e99f88ff0089ba78346143eaffaa7c8bf728dca2 (patch) | |
tree | d6bebce008b792a67bc1fe07fc3f47db27242889 /ftdetect | |
parent | cad135aa0193d450ddd7fb76201ceb2836ad5884 (diff) | |
download | vim-polyglot-e99f88ff0089ba78346143eaffaa7c8bf728dca2.tar.gz vim-polyglot-e99f88ff0089ba78346143eaffaa7c8bf728dca2.zip |
Add orgmode support
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 8 |
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 |