Diff
1diff --git a/dot_config/nvim/lua/plugins/treesitter.lua b/dot_config/nvim/lua/plugins/treesitter.lua
2index a82e13c4e3b2fe57bf4a2e422d1ff04d1a9156ef..16d91324c6ab415006936e983d19aa2ea2826db9 100644
3--- a/dot_config/nvim/lua/plugins/treesitter.lua
4+++ b/dot_config/nvim/lua/plugins/treesitter.lua
5@@ -1,45 +1,26 @@
6 return {
7 {
8 "nvim-treesitter/nvim-treesitter",
9+ lazy = false,
10 version = false,
11 build = ":TSUpdate",
12 event = { "BufReadPost", "BufNewFile", "VeryLazy" },
13 cmd = { "TSUpdateSync", "TSUpdate", "TSInstall" },
14- config = function()
15- require("nvim-treesitter.configs").setup({
16- highlight = {
17- enable = true,
18- additional_vim_regex_highlighting = false,
19- },
20- indent = {
21- enable = true,
22- },
23- modules = {},
24- ignore_install = {},
25- auto_install = true,
26- sync_install = false,
27- ensure_installed = {
28- "bash",
29- "go",
30- "javascript",
31- "json",
32- "lua",
33- "luadoc",
34- "luap",
35- "markdown",
36- "markdown_inline",
37- "python",
38- "query",
39- "regex",
40- "terraform",
41- "tsx",
42- "typescript",
43- "vim",
44- "vimdoc",
45- "yaml",
46- },
47- })
48- end,
49+ main = "nvim-treesitter",
50+ opts = {
51+ auto_install = true,
52+ ensure_installed = {
53+ "bash",
54+ "json",
55+ "lua",
56+ "luadoc",
57+ "luap",
58+ "markdown",
59+ "markdown_inline",
60+ "regex",
61+ "yaml",
62+ },
63+ },
64 },
65 "alker0/chezmoi.vim",
66 }