aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/treesitter.lua
blob: cec1c061db332ceac684aa0f57140d7b7b4234a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
return{
  {
    "nvim-treesitter/nvim-treesitter",
    build = ":TSUpdate",
    config = function()

      local config = require("nvim-treesitter.configs")
      config.setup({
        ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html", "css","fish","json","make","odin","rasi","xml" },
        sync_install = false,
        highlight = { enable = true },
        indent = { enable = true },
      })
    end
  }
}