summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/treesitter.lua
blob: a6ffac9af303548ea7c823429ba92dee36a103de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
return  {
    "nvim-treesitter/nvim-treesitter",
    build = ":TSUpdate",
    config = function()
        local configs = require("nvim-treesitter.configs")
        configs.setup({
            ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
            sync_install = false,
            highlight = { enable = true },
            indent = { enable = true },
        })
    end
}