Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxguo committed Dec 25, 2023
1 parent 81eb35a commit 3246e9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoload/go/def.vim
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ function! go#def#jump_to_declaration(out, mode, bin_name) abort
if go#util#IsWin()
let parts = split(out, '\(^[a-zA-Z]\)\@<!:')
elseif system('uname') =~ 'MINGW' || system('uname') =~ 'CYGWIN'
if l:msguri[2:3] is# ':/'
" remove comma from path before split. e.g. /c:/path to /c/path
if l:out[2:3] is# ':/'
let l:out = l:out[0:1] . l:out[3:]
endif
let parts = split(out, ':')
Expand Down

0 comments on commit 3246e9e

Please sign in to comment.