cleanup and add yaml schema snippet to helm

This commit is contained in:
2025-01-09 11:17:18 +02:00
parent 78d14b79a7
commit f7ff3f6f4f
4 changed files with 39 additions and 25 deletions

View File

@@ -60,6 +60,12 @@ return {
settings = {
pylsp = {
plugins = {
autopep8 = {
enabled = false,
},
yapf = {
enabled = true,
},
pycodestyle = {
ignore = { 'W391' },
maxLineLength = pythonLineLength
@@ -82,7 +88,17 @@ return {
}
}
lspconfig.yamlls.setup { }
lspconfig.yamlls.setup {}
lspconfig.helm_ls.setup {
settingsa = {
['helm-ls'] = {
yamlls = {
enabled = false
}
}
}
}
lspconfig.terraformls.setup {
filetypes = { 'terraform', 'terraform-vars', 'tf' }

View File

@@ -1,11 +1,7 @@
return {
'lucidph3nx/nvim-sops',
event = { 'BufEnter' },
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
opts = { },
keys = {
{ '<leader>ef', vim.cmd.SopsEncrypt, desc = '[E]ncrypt [F]ile' },
{ '<leader>df', vim.cmd.SopsDecrypt, desc = '[D]ecrypt [F]ile' },