mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
fix(lsp): advertise supported fold kinds (#34461)
This commit also makes it so that folds which have an unsupported fold kind have their `kind` ignored.
This commit is contained in:
@@ -441,6 +441,9 @@ function protocol.make_client_capabilities()
|
||||
foldingRange = {
|
||||
dynamicRegistration = false,
|
||||
lineFoldingOnly = true,
|
||||
foldingRangeKind = {
|
||||
valueSet = { 'comment', 'imports', 'region' },
|
||||
},
|
||||
foldingRange = {
|
||||
collapsedText = true,
|
||||
},
|
||||
|
Reference in New Issue
Block a user