Skip to content

Commit

Permalink
feat(lsp): Implement textDocument/documentSymbol (denoland#9981)
Browse files Browse the repository at this point in the history
Co-authored-by: Kitson Kelly <[email protected]>
  • Loading branch information
jeanp413 and kitsonk committed Apr 20, 2021
1 parent 6d404ec commit 2079da0
Show file tree
Hide file tree
Showing 5 changed files with 563 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cli/lsp/capabilities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ pub fn server_capabilities(
)),
references_provider: Some(OneOf::Left(true)),
document_highlight_provider: Some(OneOf::Left(true)),
document_symbol_provider: None,
// TODO: Provide a label once https://github.com/gluon-lang/lsp-types/pull/207 is merged
document_symbol_provider: Some(OneOf::Left(true)),
workspace_symbol_provider: None,
code_action_provider: Some(code_action_provider),
code_lens_provider: Some(CodeLensOptions {
Expand Down
Loading

0 comments on commit 2079da0

Please sign in to comment.