Save and restore local errorformat.
This commit is contained in:
parent
500bac5f64
commit
c404f78e87
@ -366,6 +366,7 @@ function! SyntasticMake(options)
|
|||||||
|
|
||||||
let old_shell = &shell
|
let old_shell = &shell
|
||||||
let old_shellredir = &shellredir
|
let old_shellredir = &shellredir
|
||||||
|
let old_local_errorformat = &l:errorformat
|
||||||
let old_errorformat = &errorformat
|
let old_errorformat = &errorformat
|
||||||
let old_cwd = getcwd()
|
let old_cwd = getcwd()
|
||||||
let old_lc_messages = $LC_MESSAGES
|
let old_lc_messages = $LC_MESSAGES
|
||||||
@ -405,6 +406,7 @@ function! SyntasticMake(options)
|
|||||||
|
|
||||||
silent! lolder
|
silent! lolder
|
||||||
let &errorformat = old_errorformat
|
let &errorformat = old_errorformat
|
||||||
|
let &l:errorformat = old_local_errorformat
|
||||||
let &shellredir = old_shellredir
|
let &shellredir = old_shellredir
|
||||||
let &shell=old_shell
|
let &shell=old_shell
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user