summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/config/treesitter.lua
blob: 29f5158210457698ccce2934695ae5b690166109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require'nvim-treesitter.configs'.setup {
  -- A list of parser names, or "all" (the five listed parsers should always be installed)
  ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "c_sharp", "python", "cpp", "gitignore", "gitattributes", "git_config", "git_rebase", "gitcommit", "html", "javascript", "make", "cmake", "zig", "bash", "asm", "json", "xml", "css" },

  -- Install parsers synchronously (only applied to `ensure_installed`)
  sync_install = false,

  -- Automatically install missing parsers when entering buffer
  auto_install = true,

  highlight = {
    enable = true,
  },
}