From d666fe136110e2a39176b15462bd83ac5a76110e Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Tue, 30 Jan 2024 11:21:31 -0500 Subject: Enable treesitter on toml and git rebase This seems fixed now --- after/plugin/treesitter.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index 2bce3ff..49e6e72 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -1,3 +1,5 @@ +require("nvim-treesitter.install").prefer_git = true + require'nvim-treesitter.configs'.setup { -- A full list can be found here: https://github.com/nvim-treesitter/nvim-treesitter#supported-languages -- A list of parser names @@ -32,6 +34,9 @@ require'nvim-treesitter.configs'.setup { highlight = { enable = true, -- NOTE: tree-sitter is disabled for css because it interferes with another plugin that shows color codes when you write them + -- Some of these seemed like they were causing major issues while trying to install the required parser. It would cause my whole + -- system to crawl to a hault where even switching ttys wouldn't work. It seems like that's fixed now, not sure what changed. + -- disable = { "css", "git_rebase", "toml"}, disable = { "css" }, -- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- cgit v1.2.3