Merge pull request #672 from wting/fix_errror_spellings

fix errror misspellings
This commit is contained in:
LCD 47 2013-06-04 10:55:58 -07:00
commit 6272e48961
3 changed files with 5 additions and 5 deletions

View File

@ -175,7 +175,7 @@ variable to 0. >
*'syntastic_echo_current_error'*
Default: 1
If enabled, syntastic will echo the errror associated with the current line to
If enabled, syntastic will echo the error associated with the current line to
the command window. If multiple errors are found, the first will be used. >
let g:syntastic_echo_current_error=1
<

View File

@ -63,7 +63,7 @@ let s:ignore_html_errors = [
\ "<input> attribute \"type\" has invalid value \"search\""
\ ]
function! s:IgnoreErrror(text)
function! s:IgnoreError(text)
for i in s:ignore_html_errors + g:syntastic_html_tidy_ignore_errors
if stridx(a:text, i) != -1
return 1
@ -101,7 +101,7 @@ function! SyntaxCheckers_html_tidy_GetLocList()
" filter out valid HTML5 from the errors
for n in range(len(loclist))
if loclist[n]['valid'] && s:IgnoreErrror(loclist[n]['text']) == 1
if loclist[n]['valid'] && s:IgnoreError(loclist[n]['text']) == 1
let loclist[n]['valid'] = 0
endif
endfor

View File

@ -47,7 +47,7 @@ function! s:TidyEncOptByFenc()
return get(tidy_opts, &fileencoding, '-utf8')
endfunction
function! s:IgnoreErrror(text)
function! s:IgnoreError(text)
for i in g:syntastic_xhtml_tidy_ignore_errors
if stridx(a:text, i) != -1
return 1
@ -75,7 +75,7 @@ function! SyntaxCheckers_xhtml_tidy_GetLocList()
\ 'defaults': {'bufnr': bufnr("")} })
for n in range(len(loclist))
if loclist[n]['valid'] && s:IgnoreErrror(loclist[n]['text']) == 1
if loclist[n]['valid'] && s:IgnoreError(loclist[n]['text']) == 1
let loclist[n]['valid'] = 0
endif
endfor