add helm lsp
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user