nvim: Disable git-related treesitter highligthing
This commit is contained in:
parent
866e1aa9ea
commit
3e05007045
1 changed files with 7 additions and 1 deletions
|
@ -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 },
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue