diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-05-03 19:56:10 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-05-03 19:56:10 +0300 |
| commit | cf405980ff5983ef4ff5d94ab28a8ed9c3906ec9 (patch) | |
| tree | d955b75410cf4065bbf337b01897d00022d6c24e /.config/nvim/lsp/yamlls.lua | |
| parent | 0f8314f4c182bee175101d2416547b808d421c77 (diff) | |
Declaratively list all the treesitter parsers I use
Diffstat (limited to '.config/nvim/lsp/yamlls.lua')
| -rw-r--r-- | .config/nvim/lsp/yamlls.lua | 11 |
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, }, }, }, |
