Fix formatting
This commit is contained in:
parent
2f88c8db15
commit
4fac68fb95
@ -136,10 +136,13 @@ endfunction
|
||||
" others.
|
||||
function! vebugger#util#EnglishExecute(command) abort
|
||||
let l:lang = matchstr(execute('language messages'), '"\zs.*\ze"')
|
||||
if l:lang !~ 'en' | language messages en_US.utf8 | endif
|
||||
if l:lang !~ 'en'
|
||||
language messages en_US.utf8
|
||||
endif
|
||||
let l:result = execute(a:command)
|
||||
if l:lang !~ 'en' | language messages l:lang | endif
|
||||
|
||||
if l:lang !~ 'en'
|
||||
language messages l:lang
|
||||
endif
|
||||
return l:result
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user