diff options
Diffstat (limited to 'indent/vala.vim')
-rw-r--r-- | indent/vala.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/vala.vim b/indent/vala.vim index fa3aac3d..288885b5 100644 --- a/indent/vala.vim +++ b/indent/vala.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'vala') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vala') == -1 " Vim indent file " Language: Vala " Author: AdriĆ Arrufat <adria.arrufat@protonmail.ch> @@ -85,3 +82,4 @@ function GetValaIndent(lnum) " Fall back on cindent, which does it mostly right return cindent(a:lnum) endfunction +endif |