Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxguo committed Dec 18, 2023
1 parent d6ea803 commit 81eb35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/go/lsp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ function! s:definitionHandler(next, msg) abort dict
let l:msguri = go#path#FromURI(l:msg.uri)
" remove the comma in cygwin unix-like windwos path
" e.g. '/c:/path' to '/c/path'
if system('uname') =~ 'MINGW' || system('uname') =~ 'CYGWIN'
if has('win32unix') && (system('uname') =~ 'MINGW' || system('uname') =~ 'CYGWIN')
if l:msguri[2:3] is# ':/'
let l:msguri = l:msguri[0:1] . l:msguri[3:]
endif
Expand Down

0 comments on commit 81eb35a

Please sign in to comment.