Skip to content

Commit

Permalink
Disable syntax check when entering in a buffer, it was an annoying pa…
Browse files Browse the repository at this point in the history
…use.
  • Loading branch information
jimenezrick authored and oscarh committed Mar 15, 2011
1 parent 6ac6202 commit 162a8ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion TODO

This file was deleted.

3 changes: 0 additions & 3 deletions compiler/erlang.vim
Expand Up @@ -73,10 +73,7 @@ CompilerSet errorformat=%f:%l:\ %tarning:\ %m,%E%f:%l:\ %m


if g:erlangHighlightErrors if g:erlangHighlightErrors
autocmd BufLeave *.erl call s:clear_matches() autocmd BufLeave *.erl call s:clear_matches()

autocmd BufEnter *.erl call HighlightErlangErrors()
autocmd BufWritePost *.erl call HighlightErlangErrors() autocmd BufWritePost *.erl call HighlightErlangErrors()

autocmd CursorHold *.erl call s:show_msg() autocmd CursorHold *.erl call s:show_msg()
autocmd CursorMoved *.erl call s:show_msg() autocmd CursorMoved *.erl call s:show_msg()
endif endif

0 comments on commit 162a8ed

Please sign in to comment.