aboutsummaryrefslogtreecommitdiff
path: root/lua/user/treesitter.lua
blob: 62a1197610a6c415204d2618e08778da98bbcd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
if not status_ok then
  return
end

configs.setup {
  ensure_installed = "all",
  sync_install = false,
  ignore_install = { "" },
  highlight = {
	enable = true,
	disable = { "" },
	additional_vim_regex_highlighting = true,
  },
  indent = { enable = true, disable = { "yaml" } },
  context_commentstring = {
	enable = true,
	enable_autocmd = false,
  }
}