Skip to content

Commit 3649e89

Browse files
committed
Allow multiple instances of vimspector to open the log (prevent ATTENTION)
1 parent 3a86a1b commit 3649e89

File tree

1 file changed

+1
-1
lines changed
  • autoload/vimspector/internal

1 file changed

+1
-1
lines changed

autoload/vimspector/internal/job.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function! vimspector#internal#job#StartCommandWithLog(
196196

197197
let l:index = len( s:commands[ a:session_id ][ a:category ] )
198198

199-
let buf = '_vimspector_log_' . a:session_id . '_' . a:category
199+
let buf = '_vimspector_log_' . a:session_id . '_' . a:category . '_' . getpid()
200200

201201
call add( s:commands[ a:session_id ][ a:category ], job_start(
202202
\ a:cmd,

0 commit comments

Comments
 (0)