Something went wrong. Try again.
Dotfiles V2 with Chezmoi
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677vim.api.nvim_create_autocmd("FileType", { pattern = { "<filetype>" }, callback = function() vim.treesitter.start() end,})
vim.filetype.add({ extension = { gotmpl = "gotmpl", }, pattern = { [".*/templates/.*%.tpl"] = "helm", [".*/templates/.*%.ya?ml"] = "helm", ["helmfile.*%.ya?ml"] = "helm", },})
vim.wo[0][0].foldexpr = "v:lua.vim.treesitter.foldexpr()"vim.wo[0][0].foldmethod = "expr"
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
local M = {}
M.install_default_parsers = function() require("nvim-treesitter").install({ "bash", "comment", "csv", "dockerfile", "editorconfig", "elixir", "erlang", "fish", "git_config", "git_rebase", "gitattributes", "gitcommit", "gitignore", "graphql", "gotmpl", "helm", "html", "http", "java", "javascript", "json", "json5", "lua", "luadoc", "make", "markdown_inline", "markdown", "mermaid", "nginx", "pem", "proto", "python", "regex", "requirements", "robots_txt", "rust", "sql", "ssh_config", "terraform", "tmux", "toml", "tsv", "typescript", "vimdoc", "yaml", })end
return M