Skip to content

Commit 9a49c7f

Browse files
committed
fix(neovim): exclude helm values files from yamlls to prevent conflicts
- values.yaml files have filetype yaml.helm-values - Both yamlls and helm_ls were attaching, causing duplicate errors - Remove yaml.helm-values from yamlls filetypes list - helm_ls with disabled yamlls diagnostics now handles helm values files - Prevents Jinja2 syntax errors in cookiecutter helm values
1 parent e290a58 commit 9a49c7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/neovim/lua/plugins/lsp.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ return {
77
inlay_hints = { enabled = false }, -- Disable inlay hints by default (toggle with <leader>uh)
88
-- Configure LSP servers
99
servers = {
10+
-- YAML Language Server - exclude helm values files (handled by helm_ls)
11+
yamlls = {
12+
filetypes = { "yaml", "yaml.docker-compose", "yaml.gitlab" },
13+
},
1014
-- Helm Language Server - disable yamlls diagnostics for Jinja2 templates
1115
helm_ls = {
1216
settings = {

0 commit comments

Comments
 (0)