Skip to content

Commit ba814d6

Browse files
committed
Merge pull request python-mode#442 from blueyed/did-indent
indent: look at and set b:did_indent
2 parents 88afb23 + 71c529f commit ba814d6

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)