summaryrefslogtreecommitdiff
path: root/.config/nvim/plugins/treesitter.vim
blob: b011e368b6c19740b25789697cbf559c95d64149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
lua <<EOF
require('nvim-treesitter.configs').setup {
  ensure_installed = 'all',
  sync_install = false,
  indent = {
    enable = true,
  },
  highlight = {
    enable = true,
    additional_vim_regex_highlighting = false,
  },
}
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