summaryrefslogtreecommitdiffstats
path: root/indent/plantuml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/plantuml.vim')
-rw-r--r--indent/plantuml.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/plantuml.vim b/indent/plantuml.vim
index 919a0c86..7f33b156 100644
--- a/indent/plantuml.vim
+++ b/indent/plantuml.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'plantuml') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == -1
scriptencoding utf-8
" Vim indent file
" Language: PlantUML
@@ -87,3 +84,4 @@ function! s:getIncIndent() abort
\ '^\s*skinparam\>.*{\s*$\|' .
\ s:typeKeywordIncPattern()
endfunction
+endif