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