From 4899585281beab51e5dff1d9ae4d3159244a8275 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 9 Jun 2021 21:37:56 +0200 Subject: Add org mode, close #706 --- autoload/polyglot/init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'autoload/polyglot/init.vim') diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim index 781c9e57..7aa94939 100644 --- a/autoload/polyglot/init.vim +++ b/autoload/polyglot/init.vim @@ -169,6 +169,10 @@ let did_load_filetypes = 1 " DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE +if !has_key(g:polyglot_is_disabled, 'org') + au BufNewFile,BufRead *.org setf org +endif + if !has_key(g:polyglot_is_disabled, 'mermaid') au BufNewFile,BufRead *.mermaid,*.mm,*.mmd setf mermaid endif -- cgit v1.2.3