mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-15 22:42:06 +08:00
Implement LSP symbol search
This commit is contained in:
@@ -16,6 +16,7 @@ Before:
|
||||
\ 'completion': 0,
|
||||
\ 'completion_trigger_characters': [],
|
||||
\ 'definition': 0,
|
||||
\ 'symbol_search': 0,
|
||||
\ },
|
||||
\}
|
||||
|
||||
@@ -67,7 +68,8 @@ Execute(Capabilities should bet set up correctly):
|
||||
\ },
|
||||
\ 'definitionProvider': v:true,
|
||||
\ 'experimental': {},
|
||||
\ 'documentHighlightProvider': v:true
|
||||
\ 'documentHighlightProvider': v:true,
|
||||
\ 'workspaceSymbolProvider': v:true
|
||||
\ },
|
||||
\ },
|
||||
\})
|
||||
@@ -80,6 +82,7 @@ Execute(Capabilities should bet set up correctly):
|
||||
\ 'references': 1,
|
||||
\ 'hover': 1,
|
||||
\ 'definition': 1,
|
||||
\ 'symbol_search': 1,
|
||||
\ },
|
||||
\ b:conn.capabilities
|
||||
|
||||
@@ -121,6 +124,7 @@ Execute(Disabled capabilities should be recognised correctly):
|
||||
\ 'references': 0,
|
||||
\ 'hover': 0,
|
||||
\ 'definition': 0,
|
||||
\ 'symbol_search': 0,
|
||||
\ },
|
||||
\ b:conn.capabilities
|
||||
|
||||
|
||||
Reference in New Issue
Block a user