1
0
Fork 0

feat: Updated lazy to use the new default branch 'main' for treesitter

and updated treesitter config to new format.
This commit is contained in:
Tristan Russell 2026-05-02 22:14:45 -04:00
parent 8443ea0d20
commit bd77f1313f
Signed by: tristanr
GPG Key ID: 4495C92911DF04CA
2 changed files with 2 additions and 10 deletions

View File

@ -1,9 +1 @@
require 'nvim-treesitter.configs'.setup { require("nvim-treesitter").setup()
-- Automatically install missing parsers when entering buffer
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
auto_install = true,
highlight = {
enable = true,
},
}

View File

@ -25,7 +25,7 @@ vim.g.maplocalleader = "\\"
require("lazy").setup({ require("lazy").setup({
spec = { spec = {
{ -- Syntax Highlighter { -- Syntax Highlighter
'nvim-treesitter/nvim-treesitter', branch = 'master', 'nvim-treesitter/nvim-treesitter', branch = 'main',
lazy = false, build = ":TSUpdate" lazy = false, build = ":TSUpdate"
}, },
{ -- Packager Manager (LSPs) { -- Packager Manager (LSPs)