Skip to content
Browse files

Revert "Temorary fix for compiler script not to cause error messages."

This reverts commit be183b0.
  • Loading branch information...
1 parent be183b0 commit bfbbbbc279016b4a4fe37cca4763941048a2f125 @oscarh oscarh committed Mar 17, 2011
Showing with 9 additions and 11 deletions.
  1. +9 −11 compiler/erlang.vim
View
20 compiler/erlang.vim
@@ -46,17 +46,15 @@ function! HighlightErlangErrors()
endfunction
function! s:show_msg()
- if exists('b:error_list')
- let pos = getpos(".")
- if has_key(b:error_list, pos[1])
- let item = get(b:error_list, pos[1])
- echo item.msg
- let b:is_showing_msg = 1
- else
- if exists("b:is_showing_msg") && b:is_showing_msg == 1
- echo
- let b:is_showing_msg = 0
- endif
+ let pos = getpos(".")
+ if has_key(b:error_list, pos[1])
+ let item = get(b:error_list, pos[1])
+ echo item.msg
+ let b:is_showing_msg = 1
+ else
+ if exists("b:is_showing_msg") && b:is_showing_msg == 1
+ echo
+ let b:is_showing_msg = 0
endif
endif
endf

0 comments on commit bfbbbbc

Please sign in to comment.
Something went wrong with that request. Please try again.