Skip to content

Commit

Permalink
Merge pull request python-mode#442 from blueyed/did-indent
Browse files Browse the repository at this point in the history
indent: look at and set b:did_indent
  • Loading branch information
klen committed Jun 26, 2014
2 parents 88afb23 + 71c529f commit ba814d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion after/indent/python.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
if !g:pymode || !g:pymode_indent
if !g:pymode || !g:pymode_indent || exists("b:did_indent")
finish
endif

let b:did_indent = 1

setlocal nolisp
setlocal tabstop=4
Expand Down

0 comments on commit ba814d6

Please sign in to comment.