summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/module/treesitter.lua
blob: e04b1c1cbbf3b1cdcb0902b204fe031f10de7c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local treesitter = require "nvim-treesitter.configs"

treesitter.setup{
  ensure_installed = {
    "c",
    "lua",
    "vim",
    "vimdoc",
    "query",
    "javascript",
    "typescript",
    "json",
    "python"
  },
  sync_install = false,
  auto_install = true,
  highlight = {
    enable = true,
    additional_vim_regex_highlighting = false,
  },
}