aboutsummaryrefslogtreecommitdiff
path: root/lua/user/treesitter.lua
blob: 4935b8f39f09bf04063ba6d4da764d4bd39399b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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" } },
}