Open adonovan opened 2 months ago
Do we also need to support lsp-mode or will they add their own functions? And if we only support eglot, should we name them go-eglot-*
instead? That'd also help avoid confusion between godoc
and go-doc
.
Good question. Perhaps these functions shouldn't presume which LSP client is in use, but should query (waved hands vigorously) whether the buffer is managed by eglot or lsp-mode and take appropriate action.
Much better that way than to include eglot in the symbol name; ideally most Emacs users wouldn't need to know anything about their LSP client.
Could we add these declarations to go-mode.el to make it easier for Go programmers to find common operations whose eglot command is somewhat obscure?
[Edit: rename "freerefs" to "freesymbols"]