summaryrefslogblamecommitdiffstats
path: root/.config/nvim/lua/plugins/treesitter.lua
blob: 7fb6d45df70b33490f6918a4130895bbc26f9383 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                         
require('nvim-treesitter.configs').setup {
  ensure_installed = 'all',
  ignore_install =  {
    'verilog',
    'kotlin'
  },
  highlight = {
    enable = true,
    -- additional_vim_regex_highlighting = { "markdown" }
    additional_vim_regex_highlighting = true,
    set_custom_captures = {
      ["type.string"] = "pythonFunction",
    }
  },
  incremental_selection = { enable = true },
  textobjects = { enable = true }
}

remember that computers suck.