fix a typo

This commit is contained in:
Martin Grenfell 2009-07-15 19:34:17 +12:00
parent 1d3a963ee2
commit 62abcf0b3d

View File

@ -140,7 +140,7 @@ function! s:CacheErrors()
for ft in split(&ft, '\.') for ft in split(&ft, '\.')
if exists("*SyntaxCheckers_". ft ."_GetLocList") && filereadable(expand("%")) if exists("*SyntaxCheckers_". ft ."_GetLocList") && filereadable(expand("%"))
let oldlocixlist = getloclist(0) let oldloclist = getloclist(0)
let old_makeprg = &makeprg let old_makeprg = &makeprg
let old_shellpipe = &shellpipe let old_shellpipe = &shellpipe
let old_errorformat = &errorformat let old_errorformat = &errorformat
@ -153,7 +153,7 @@ function! s:CacheErrors()
let b:syntastic_loclist = extend(b:syntastic_loclist, SyntaxCheckers_{ft}_GetLocList()) let b:syntastic_loclist = extend(b:syntastic_loclist, SyntaxCheckers_{ft}_GetLocList())
call setloclist(0, oldlocixlist) call setloclist(0, oldloclist)
let &makeprg = old_makeprg let &makeprg = old_makeprg
let &errorformat = old_errorformat let &errorformat = old_errorformat
let &shellpipe=old_shellpipe let &shellpipe=old_shellpipe