nvim: Disable git-related treesitter highligthing

This commit is contained in:
histalek 2022-12-15 13:32:37 +01:00
parent 866e1aa9ea
commit 3e05007045
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

View file

@ -23,7 +23,13 @@ treesitter.setup({
},
sync_install = false,
auto_install = true, -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
highlight = { enable = true },
highlight = {
enable = true,
disable = {
"gitcommit",
"git_rebase",
}, -- non-treesitter highligthing is way better for verbose gitcommit and git_rebase
},
indent = { enable = true },
autotag = { enabled = true },
})