diff options
| author | Crony Akatsuki <crony@cronyakatsuki.xyz> | 2026-02-25 12:49:27 +0100 |
|---|---|---|
| committer | Crony Akatsuki <crony@cronyakatsuki.xyz> | 2026-02-25 12:49:27 +0100 |
| commit | 367860e961f16c789d05260e8edf08bfa44f0dc3 (patch) | |
| tree | c3228f1c4bd4b10d8fff36932cc3471e29344cc0 /lua | |
| parent | 628a06f5c81861edb7702b100a3be83b4d9dcdba (diff) | |
| download | nvim-367860e961f16c789d05260e8edf08bfa44f0dc3.zip nvim-367860e961f16c789d05260e8edf08bfa44f0dc3.tar.gz | |
feat: update treesitter and pack-lock
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins/treesitter.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 732bc58..6ead4ba 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,9 +1,9 @@ vim.pack.add({ - { src = "https://github.com/nvim-treesitter/nvim-treesitter" }, + { src = "https://github.com/nvim-treesitter/nvim-treesitter", name = "nvim-treesitter" }, }) ---@diagnostic disable: missing-fields -require("nvim-treesitter.configs").setup({ - ensure_installed = { "go", "nix" }, +require'nvim-treesitter'.setup { + -- ensure_installed = { "go", "nix" }, auto_install = true, @@ -20,7 +20,9 @@ require("nvim-treesitter.configs").setup({ node_decremental = "<Leader>sd", }, }, -}) +} + +require'nvim-treesitter'.install { 'go', 'nix'} -- run tsupdate when updating nvim-treesitter vim.api.nvim_create_autocmd('PackChanged', { |
