mirror of
https://github.com/neovim/neovim.git
synced 2026-09-12 09:01:02 +00:00
feat(lsp): support workspace/foldingRange/refresh #41780
Problem: Servers cannot request refreshing stale LSP folding ranges after a project-wide change. Solution: Advertise `workspace.foldingRange.refreshSupport` and re-request folding ranges for active buffers when handling `workspace/foldingRange/refresh`. AI-assisted
This commit is contained in:
committed by
GitHub
parent
0a844adc13
commit
8e0045f43a
@@ -639,6 +639,9 @@ function protocol.make_client_capabilities()
|
||||
diagnostics = {
|
||||
refreshSupport = true,
|
||||
},
|
||||
foldingRange = {
|
||||
refreshSupport = true,
|
||||
},
|
||||
fileOperations = {
|
||||
dynamicRegistration = false,
|
||||
didCreate = false,
|
||||
|
||||
Reference in New Issue
Block a user