summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-02-28 17:53:26 +0100
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commitbf9da48a206eed9e1bb13a6c030d88b140cfebf3 (patch)
tree1be5d346af2d191f6823687f4195047895876b40
parentb917ecb7d95a31b72d82cb9a339cfa1f76eea5ab (diff)
[nvim] add treesitter diff highlight groups
-rw-r--r--.config/nvim/plugins/treesitter.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/plugins/treesitter.vim b/.config/nvim/plugins/treesitter.vim
index 6f12bd0..b011e36 100644
--- a/.config/nvim/plugins/treesitter.vim
+++ b/.config/nvim/plugins/treesitter.vim
@@ -11,3 +11,8 @@ require('nvim-treesitter.configs').setup {
},
}
EOF
+
+highlight! link @text.diff.add DiffAdd
+highlight! link @text.diff.delete DiffDelete
+highlight! link @text.diff.change DiffChange
+highlight! link @text.diff.text DiffText