aboutsummaryrefslogtreecommitdiff
path: root/treesitter.lua
blob: a6b3c40ff7d0d4ec3826abbb620c302ab44ddbd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
local status, ts = pcall(require, 'treesitter')
if (not status) then return end

ts.setup {
  highlight = {
    enable = true,
    disable = {}
  },
  indent = {
    enable = true,
    disable = {}
  },
  ensure_installed = {
    'lua',
    'python',
    "css",
    "html",
    "json",
  },
  autotag = {
    enable = true,
  },
}