summaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
blob: 49b33425e7d5f3767c0dd10af2ce1757c7c801e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
return {
  "nvim-treesitter/nvim-treesitter",
  build = ":TSUpdate",
  config = function ()
    local ts = require("nvim-treesitter.configs")
    ts.setup({
      ensure_installed = {
        "c",
        "lua",
        "vim",
        "vimdoc",
        "html",
        "css",
        "javascript"
      },
      sync_install = false,
      highlight = { enable = true },
      indent = { enable = true },
    })
  end
}