diff options
Diffstat (limited to '')
-rw-r--r-- | ftplugin/json.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/json.vim b/ftplugin/json.vim index 132bea4b..f8185ca5 100644 --- a/ftplugin/json.vim +++ b/ftplugin/json.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'json') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json') == -1 " Vim syntax file " Language: JSON " Maintainer: Eli Parra <eli@elzr.com> https://github.com/elzr/vim-json @@ -40,3 +37,4 @@ if has('conceal') "maybe g:vim_json_syntax_conceal could be settable to 0,1,2 to map "directly to vim's conceallevels? unsure if anyone cares endif +endif |