summaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/yamlls.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/yamlls.lua')
-rw-r--r--.config/nvim/lsp/yamlls.lua11
1 files changed, 8 insertions, 3 deletions
diff --git a/.config/nvim/lsp/yamlls.lua b/.config/nvim/lsp/yamlls.lua
index b97f463..1dc4711 100644
--- a/.config/nvim/lsp/yamlls.lua
+++ b/.config/nvim/lsp/yamlls.lua
@@ -5,9 +5,14 @@ return {
filetypes = { 'yaml', 'yaml.docker-compose', 'yaml.gitlab' },
root_markers = { '.git' },
settings = {
- redhat = {
- telemetry = {
- enabled = false,
+ redhat = { telemetry = { enabled = false } },
+ },
+ -- Have to add this for yamlls to understand that we support line folding
+ capabilities = {
+ textDocument = {
+ foldingRange = {
+ dynamicRegistration = false,
+ lineFoldingOnly = true,
},
},
},