summaryrefslogtreecommitdiff
path: root/lua/talha/plugins/treesitter.lua
blob: 3f1efc711eef2b856991800077c947560ede68b1 (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 configs = require("nvim-treesitter.configs")

            configs.setup({
                ensure_installed = {
                  "c", "cpp", "python",
                  "vim", "vimdoc", "query",
                },
                sync_install = false,
                highlight = {
                  enable = true,
                  additional_vim_regex_highlighting = false,
                },
                indent = { enable = false },
            })
        end
    }
}