1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-02-22 15:37:59 +00:00

[nvim] Add helm support

This commit is contained in:
Daniel Carrillo 2025-01-26 13:30:36 +01:00
parent bbe971d799
commit eeb1f485e8
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
4 changed files with 12 additions and 2 deletions

View File

@ -53,6 +53,12 @@ vim.api.nvim_create_autocmd("FileType", {
command = "setlocal shiftwidth=2 tabstop=2", command = "setlocal shiftwidth=2 tabstop=2",
}) })
-- helm files indentation
vim.api.nvim_create_autocmd("FileType", {
pattern = "helm",
command = "setlocal shiftwidth=2 tabstop=2",
})
-- Disable some plugins on very large files -- Disable some plugins on very large files
vim.api.nvim_create_autocmd({ "BufEnter" }, { vim.api.nvim_create_autocmd({ "BufEnter" }, {
pattern = { "*" }, pattern = { "*" },

View File

@ -274,7 +274,7 @@ require("lazy").setup({
version = false, version = false,
opts = { opts = {
provider = "copilot", provider = "copilot",
auto_suggestions_provider = "copilot", auto_suggestions_provider = "claude",
}, },
build = "make", build = "make",
dependencies = { dependencies = {
@ -320,6 +320,6 @@ require("lazy").setup({
}, },
}, },
}, },
{ "towolf/vim-helm", ft = "helm" },
{ "robbles/logstash.vim" }, { "robbles/logstash.vim" },
}, lazy_opts) }, lazy_opts)

View File

@ -2,11 +2,14 @@ require("copilot").setup({
suggestion = { enabled = false }, suggestion = { enabled = false },
panel = { enabled = false }, panel = { enabled = false },
filetypes = { filetypes = {
dockerfile = true,
go = true, go = true,
hcl = true, hcl = true,
helm = true,
javascript = true, javascript = true,
json = true, json = true,
lua = true, lua = true,
make = true,
markdown = true, markdown = true,
python = true, python = true,
sh = true, sh = true,

View File

@ -2,6 +2,7 @@ local servers = {
"ansiblels", "ansiblels",
"bashls", "bashls",
"gopls", "gopls",
"helm_ls",
"html", "html",
-- "kotlin_language_server", -- "kotlin_language_server",
"jdtls", "jdtls",