diff options
Diffstat (limited to '')
-rw-r--r-- | indent/nginx.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/nginx.vim b/indent/nginx.vim index 27607da6..df8ccaef 100644 --- a/indent/nginx.vim +++ b/indent/nginx.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nginx') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nginx') != -1 + finish +endif + if exists("b:did_indent") finish endif @@ -11,5 +13,3 @@ setlocal indentexpr= setlocal cindent " Just make sure that the comments are not reset as defs would be. setlocal cinkeys-=0# - -endif |