summaryrefslogtreecommitdiff
path: root/lua/custom/plugins/treesitter.lua
blob: 3de7c0440201dcf1712f38f1f7f032d16671e21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return {
  "nvim-treesitter/nvim-treesitter",
  build = ":TSUpdate",
  lazy = false,
  config = function()
    require("nvim-treesitter.configs").setup({
      ensure_installed = { "nix", "lua", "bash" },
      auto_install = true,
      sync_install = false,
      indent = { enable = true },
      highlight = {
        enable = true,
        additional_vim_regex_highlighting = false,
      },
    })
  end,
}