forked from elastic/go-langserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp: support hover for *ast.ImportSpec.
Since 'IdentifierInfo' doesn't contain ast node of import spec, gopls will construct an empty string under plaintext mode and '```go\n\n```' under markdown mode for *ast.ImportSpec. For now, the hovering result of import spec is the corresponding node format. Related issue: golang/go#33000.
- Loading branch information
Henry Wong
committed
Jul 11, 2019
1 parent
4fc3618
commit 8388f4a
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters