-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support document symbols requests in lsp
This allows requesting a list/tree of symbols in the current document. The following items are currently exposed: - `load` statements: - The module path - The loaded symbol names - `def` statements: - The function node - Argument names - Closures, when assigned to a named variable - Structs (calls to `struct`), when assigned to a named variable - Build system targets (function calls containing a `name` argument)
- Loading branch information
1 parent
4419c9d
commit c05fce3
Showing
2 changed files
with
265 additions
and
0 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