summary refs log tree commit diff
path: root/.vim/lua/plugins/_treesitter.lua
blob: c5225bcbf53b57e5f4bdbb4966a81ad741c72d84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require('nvim-treesitter.configs').setup {
  ensure_installed = { "c", "c_sharp", "lua", "bash" },
  highlight = {
    enable = false,
  },
  indent = {
    enable = true,
  },
  refactor = {
    navigation = {
      enable = true,
      keymaps = {
        goto_definition = "<c-]>",
      },
    },
    smart_rename = {
      enable = true,
      keymaps = {
        smart_rename = "grr",
      },
    },
  },
}