add helm lsp

This commit is contained in:
2026-01-31 05:30:42 +02:00
parent 65680cb255
commit b84e46bda1
4 changed files with 130 additions and 0 deletions

View File

@@ -1,7 +1,26 @@
local M = {}
-- vim.filetype.add({
-- pattern = {
-- ['.*/templates/.*%.ya?ml'] = 'yaml.helm-values',
-- ['.*/templates/.*%.tpl'] = 'yaml.helm-values',
-- },
-- })
-- vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufRead' }, {
-- pattern = '**/templates/**/*.y?ml',
-- callback = function()
-- vim.bo.filetype = 'yaml.helm-values'
-- end,
-- })
--
function M.get()
return {
{
ft = 'yaml.helm-values',
ts = 'helm',
lsp = 'helm-ls',
},
{
ft = 'yaml',
ts = 'yaml',