Diff
1diff --git a/dot_config/nvim/lua/plugins/treesitter.lua b/dot_config/nvim/lua/plugins/treesitter.lua
2index d7685548f3254c513e107e2073e24a4a62cc849b..3c9ced4958ee18aae49492a8a85cc374a18248d9 100644
3--- a/dot_config/nvim/lua/plugins/treesitter.lua
4+++ b/dot_config/nvim/lua/plugins/treesitter.lua
5@@ -2,26 +2,29 @@ return {
6 {
7 "nvim-treesitter/nvim-treesitter",
8 lazy = false,
9- version = false,
10 build = ":TSUpdate",
11- event = { "BufReadPost", "BufNewFile", "VeryLazy" },
12- cmd = { "TSUpdateSync", "TSUpdate", "TSInstall" },
13- main = "nvim-treesitter.configs",
14- opts = {
15- highlight = { enable = true },
16- auto_install = true,
17- ensure_installed = {
18+ config = function()
19+ vim.treesitter.start()
20+ require("nvim-treesitter").install({
21 "bash",
22+ "css",
23+ "go",
24+ "html",
25+ "javascript",
26 "json",
27 "lua",
28 "luadoc",
29 "luap",
30 "markdown",
31 "markdown_inline",
32+ "python",
33 "regex",
34+ "rust",
35+ "templ",
36+ "typescript",
37 "yaml",
38- },
39- },
40+ })
41+ end,
42 },
43 "alker0/chezmoi.vim",
44 }