s/HightlightErrors/HighlightErrors/g

This commit is contained in:
Richard Brown 2012-09-27 13:44:23 +01:00
parent 4bb4ec6550
commit ca1d129b3f

View File

@ -141,7 +141,7 @@ function! s:UpdateErrors(auto_invoked)
" highlighting requires getmatches introduced in 7.1.040" " highlighting requires getmatches introduced in 7.1.040"
if g:syntastic_enable_highlighting && if g:syntastic_enable_highlighting &&
\ (v:version > 702 || v:version == 701 && has('patch040')) \ (v:version > 702 || v:version == 701 && has('patch040'))
call s:HightlightErrors() call s:HighlightErrors()
endif endif
if g:syntastic_auto_jump && s:BufHasErrorsOrWarningsToDisplay() if g:syntastic_auto_jump && s:BufHasErrorsOrWarningsToDisplay()
@ -382,7 +382,7 @@ endfunction
" "
"If the 'force_highlight_callback' key is set for an error item, then invoke "If the 'force_highlight_callback' key is set for an error item, then invoke
"the callback even if it can be highlighted automatically. "the callback even if it can be highlighted automatically.
function! s:HightlightErrors() function! s:HighlightErrors()
call s:ClearErrorHighlights() call s:ClearErrorHighlights()
let fts = substitute(&ft, '-', '_', 'g') let fts = substitute(&ft, '-', '_', 'g')