diff options
Diffstat (limited to 'indent/plantuml.vim')
-rw-r--r-- | indent/plantuml.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/plantuml.vim b/indent/plantuml.vim index 1cfc91b7..383a6b41 100644 --- a/indent/plantuml.vim +++ b/indent/plantuml.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'plantuml') != -1 + finish +endif + if exists('b:did_indent') finish endif @@ -55,5 +57,3 @@ function! s:insidePlantUMLTags(lnum) abort call cursor(a:lnum, 1) return search('@startuml', 'Wbn') && search('@enduml', 'Wn') endfunction - -endif |