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 adc1751 commit 9d4f3ba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions autoload/go/def.vim
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,8 @@ function! go#def#jump_to_declaration(out, mode, bin_name) abort
let parts = split(out, '\(^[a-zA-Z]\)\@<!:')
elseif has('win32unix')
" remove comma in cygwin path e.g. '/c:/path'
if l:out[0:8] != '/cygdrive'
if l:out[2:3] is# ':/'
let l:out = l:out[0:1] . l:out[3:]
endif
if l:out[0:8] != '/cygdrive' && l:out[2:3] is# ':/'
let l:out = l:out[0:1] . l:out[3:]
endif
let parts = split(out, ':')
else
Expand Down

0 comments on commit 9d4f3ba

Please sign in to comment.