Reset only the LC_MESSAGES part of locales.
This commit is contained in:
parent
755ecfe46b
commit
572a36188d
@ -356,6 +356,7 @@ function! SyntasticMake(options)
|
|||||||
let old_shell = &shell
|
let old_shell = &shell
|
||||||
let old_errorformat = &l:errorformat
|
let old_errorformat = &l:errorformat
|
||||||
let old_cwd = getcwd()
|
let old_cwd = getcwd()
|
||||||
|
let old_lc_messages = $LC_MESSAGES
|
||||||
let old_lc_all = $LC_ALL
|
let old_lc_all = $LC_ALL
|
||||||
|
|
||||||
if s:OSSupportsShellpipeHack()
|
if s:OSSupportsShellpipeHack()
|
||||||
@ -377,9 +378,11 @@ function! SyntasticMake(options)
|
|||||||
exec 'lcd ' . fnameescape(a:options['cwd'])
|
exec 'lcd ' . fnameescape(a:options['cwd'])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let $LC_ALL = 'C'
|
let $LC_MESSAGES = 'C'
|
||||||
|
let $LC_ALL = ''
|
||||||
silent lmake!
|
silent lmake!
|
||||||
let $LC_ALL = old_lc_all
|
let $LC_ALL = old_lc_all
|
||||||
|
let $LC_MESSAGES = old_lc_messages
|
||||||
|
|
||||||
let errors = getloclist(0)
|
let errors = getloclist(0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user