fatih / vim-go

Go development plugin for Vim
https://www.patreon.com/bhcleek
Other
15.9k stars 1.45k forks source link

doc: Add Gopls disable checking when view the `:GoDoc` #3610

Closed rwxguo closed 6 months ago

rwxguo commented 7 months ago

When g:go_gopls_enabled = 0, :GoDoc and :GoDocBrowser will not work because they are still calling go#lsp functions.

I have added checking so that :GoDoc and :GoDocBrowser can work properly when g:go_gopls_enabled = 0

bhcleek commented 7 months ago

thank you

rwxguo commented 6 months ago

You're welcome