diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2024-01-30 11:21:31 -0500 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2024-01-30 11:21:31 -0500 |
commit | d666fe136110e2a39176b15462bd83ac5a76110e (patch) | |
tree | 9b4e556b3ced3d3463cd3269d3caa174bdba709f | |
parent | 6f02136efa9b76cb2781ddd8bed12d1637004932 (diff) |
Enable treesitter on toml and git rebase
This seems fixed now
-rw-r--r-- | after/plugin/treesitter.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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. |