mirror of
https://github.com/neovim/neovim.git
synced 2026-09-09 23:45:51 +00:00
fix(lsp): announce typeHierarchy and executeCommand capabilities #41762
Problem: Type hierarchy (#28388, #28467) and `workspace/executeCommand` (#11607) are implemented, but `textDocument.typeHierarchy` and `workspace.executeCommand` are missing from `make_client_capabilities()`. Solution: Declare both capabilities. AI-assisted
This commit is contained in:
committed by
GitHub
parent
83d1915744
commit
8d5ebdf986
@@ -583,6 +583,9 @@ function protocol.make_client_capabilities()
|
||||
callHierarchy = {
|
||||
dynamicRegistration = false,
|
||||
},
|
||||
typeHierarchy = {
|
||||
dynamicRegistration = false,
|
||||
},
|
||||
colorProvider = {
|
||||
dynamicRegistration = true,
|
||||
},
|
||||
@@ -607,6 +610,9 @@ function protocol.make_client_capabilities()
|
||||
didChangeConfiguration = {
|
||||
dynamicRegistration = false,
|
||||
},
|
||||
executeCommand = {
|
||||
dynamicRegistration = false,
|
||||
},
|
||||
workspaceFolders = true,
|
||||
applyEdit = true,
|
||||
workspaceEdit = {
|
||||
|
||||
Reference in New Issue
Block a user