Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions autoload/vebugger.vim
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ function! s:f_debugger.invokeReading() dict
endfor
for l:k in keys(l:newLines)
for l:line in l:newLines[l:k]
" remove ANSI Colors
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a separate issue than the language messages one, and deserve a separate PR. With a better commit message.

let l:line = substitute(l:line,"\\W\\[\\d\\{-}[a-zA-Z]","","g")
call self.handleLine(l:k, l:line)
endfor
endfor
Expand Down
4 changes: 2 additions & 2 deletions autoload/vebugger/util.vim
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ endfunction
function! vebugger#util#EnglishExecute(command) abort
let l:lang = matchstr(execute('language messages'), '"\zs.*\ze"')
if l:lang !~ 'en'
language messages en_US.utf8
exec "language messages " . l:lang
endif
let l:result = execute(a:command)
if l:lang !~ 'en'
language messages l:lang
exec "language messages " . l:lang
endif
return l:result
endfunction
Expand Down