Skip to content

Commit

Permalink
listen to triggers on more than the main buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
putermancer committed Oct 4, 2010
1 parent bd20112 commit 427706c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .vim/bundle/pyflakes/plugin/pyflakes.vim
Expand Up @@ -114,18 +114,18 @@ if !b:did_python_init
finish
endif

au BufLeave <buffer> call s:ClearPyflakes()
au BufLeave * call s:ClearPyflakes()

au BufEnter <buffer> call s:RunPyflakes()
au InsertLeave <buffer> call s:RunPyflakes()
au InsertEnter <buffer> call s:RunPyflakes()
au BufWritePost <buffer> call s:RunPyflakes()
au BufEnter * call s:RunPyflakes()
au InsertLeave * call s:RunPyflakes()
au InsertEnter * call s:RunPyflakes()
au BufWritePost * call s:RunPyflakes()

au CursorHold <buffer> call s:RunPyflakes()
au CursorHoldI <buffer> call s:RunPyflakes()
au CursorHold * call s:RunPyflakes()
au CursorHoldI * call s:RunPyflakes()

au CursorHold <buffer> call s:GetPyflakesMessage()
au CursorMoved <buffer> call s:GetPyflakesMessage()
au CursorHold * call s:GetPyflakesMessage()
au CursorMoved * call s:GetPyflakesMessage()

if !exists("*s:PyflakesUpdate")
function s:PyflakesUpdate()
Expand Down

0 comments on commit 427706c

Please sign in to comment.