require("config.lazy") vim.filetype.add({ extension = { zsh = "zsh", }, filename = { [".zshrc"] = "zsh", [".zprofile"] = "zsh", ["zshrc"] = "zsh", }, }) -- 1. Add custom filetype detection for Helm templates vim.filetype.add({ pattern = { -- Match any YAML or TPL file inside a 'templates' directory ['.*/templates/.*%.ya?ml'] = 'helm', ['.*/templates/.*%.tpl'] = 'helm', ['Chart%.ya?ml'] = 'helm', ['values%.ya?ml'] = 'helm', }, }) vim.opt.tabstop = 2 vim.opt.shiftwidth = 2 vim.opt.expandtab = true vim.opt.undofile = true