summaryrefslogtreecommitdiffstats
path: root/indent/python.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/python.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/python.vim b/indent/python.vim
index 2b8fef1e..2bf211d8 100644
--- a/indent/python.vim
+++ b/indent/python.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'python-indent') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-indent') == -1
" PEP8 compatible Python indent file
" Language: Python
" Maintainer: Daniel Hahler <https://daniel.hahler.de/>
@@ -456,3 +453,4 @@ function! GetPythonPEPIndent(lnum)
return s:indent_like_previous_line(a:lnum)
endfunction
+endif