x/tools/gopls: suppress adding URLs to hover #41417
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
In vim, the URL in the hover document given by gopls is actually unclickable because the popup window does not capture focus. However, the presence of these URLs can affect the sentence flow of the document text.
I know there's a feature in vim called conceal that hides them, but since URLs are usually long, actually hiding them leaves a huge black hole, like this:
I looked at the source code for these modules and found that the original documentation comments did not contain URLs, so they should have been added actively by gopls.
I know that some GUI editors like vscode have this feature that is very useful, as they often have an integrated browser that can easily display what the link is pointing to. But in other term-based editors, actually opening the URL is not very convenient and breaks the train of thought.
So is it possible to request an option to turn this feature off?
The text was updated successfully, but these errors were encountered: