summaryrefslogtreecommitdiffstats
path: root/indent/pgsql.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/pgsql.vim')
-rw-r--r--indent/pgsql.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/pgsql.vim b/indent/pgsql.vim
index 9c99b0c5..0f60bf1a 100644
--- a/indent/pgsql.vim
+++ b/indent/pgsql.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'pgsql') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pgsql') == -1
" Vim indent file
" Language: SQL
" Author: David Fishburn <dfishburn dot vim at gmail dot com>
@@ -391,3 +388,4 @@ endfunction
let &cpo= s:keepcpo
unlet s:keepcpo
" vim: ts=4 fdm=marker sw=4
+endif