Skip to content

Commit 6ade3e3

Browse files
committed
Update log parser to match server response changes
1 parent 7507f13 commit 6ade3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/OmniSharp/log.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function! OmniSharp#log#LogServer(job, raw, msg) abort
5959
" full debugging requests and responses plus debugging messages, but
6060
" OmniSharp-vim will not log the requests and responses - just record
6161
" their commands
62-
let prefix = matchstr(lines[0], '\*\s\+\zs\S\+\ze\s\+\*')
62+
let prefix = matchstr(lines[0], '\*\s\+\zs\S\+\ze\%(\s(.\{-})\)\?\s\+\*')
6363
let num_lines = len(lines)
6464
let commands = filter(lines, "v:val =~# '^\\s*\"Command\":'")
6565
if len(commands)

0 commit comments

Comments
 (0)