Skip to content

Commit 71c529f

Browse files
committed
indent: look at and set b:did_indent
Fixes python-mode#424
1 parent 18370c7 commit 71c529f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

after/indent/python.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
if !g:pymode || !g:pymode_indent
1+
if !g:pymode || !g:pymode_indent || exists("b:did_indent")
22
finish
33
endif
44

5+
let b:did_indent = 1
56

67
setlocal nolisp
78
setlocal tabstop=4

0 commit comments

Comments
 (0)