language/yaml: call default_on_attach in helm version

This commit is contained in:
alfarel 2025-09-06 16:43:59 +00:00 committed by Ching Pei Yang
commit 68ca28af79
No known key found for this signature in database
GPG key ID: B3841364253DC4C8
2 changed files with 3 additions and 0 deletions

View file

@ -291,6 +291,8 @@
`null` value to disable them if conform is enabled.
- Fix Helm-YAML language module integration. YAML diagnostics will now remain in
`helmfile`s when both are enabled.
- Fix YAML language module not activating LSP keybinds if the Helm language
module was also enabled.
[TheColorman](https://github.com/TheColorman):

View file

@ -19,6 +19,7 @@
if config.vim.languages.helm.lsp.enable && config.vim.languages.helm.enable
then ''
function(client, bufnr)
default_on_attach()
local filetype = vim.bo[bufnr].filetype
if filetype == "helm" then
client.stop()