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 ac13737 commit 2060e8f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions autoload/go/config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,7 @@ function! go#config#PlayBrowserCommand() abort
if go#util#IsWin()
let go_play_browser_command = '!start rundll32 url.dll,FileProtocolHandler %URL%'
elseif go#util#IsCygwin()
if executable('cygstart')
let go_play_browser_command = '!cygstart rundll32 url.dll,FileProtoco lHandler %URL%'
else
let go_play_browser_command = '!start rundll32 url.dll,FileProtocolHa ndler %URL%'
endif
let go_play_browser_command = '!rundll32 url.dll,FileProtocolHa ndler %URL%'
elseif go#util#IsMac()
let go_play_browser_command = 'open %URL%'
elseif executable('xdg-open')
Expand Down

0 comments on commit 2060e8f

Please sign in to comment.