From bd77f1313fd0377238f5dfefcaf9331de78ca348 Mon Sep 17 00:00:00 2001 From: Tristan Russell Date: Sat, 2 May 2026 22:14:45 -0400 Subject: [PATCH] feat: Updated lazy to use the new default branch 'main' for treesitter and updated treesitter config to new format. --- after/plugin/treesitter.lua | 10 +--------- lua/truss/lazy.lua | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index 1cef314..b056b77 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -1,9 +1 @@ -require 'nvim-treesitter.configs'.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, - }, -} +require("nvim-treesitter").setup() diff --git a/lua/truss/lazy.lua b/lua/truss/lazy.lua index 2c9f787..11e6de6 100644 --- a/lua/truss/lazy.lua +++ b/lua/truss/lazy.lua @@ -25,7 +25,7 @@ vim.g.maplocalleader = "\\" require("lazy").setup({ spec = { { -- Syntax Highlighter - 'nvim-treesitter/nvim-treesitter', branch = 'master', + 'nvim-treesitter/nvim-treesitter', branch = 'main', lazy = false, build = ":TSUpdate" }, { -- Packager Manager (LSPs)