aboutsummaryrefslogblamecommitdiff
path: root/.config/nvim/lua/pluginsconfig/treesitter.lua
blob: feb1f5c085d2f61e659606a6b0aa5b75ee1e6c06 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                     
local present, treesitter = pcall(require, "nvim-treesitter.configs")

if not present then
    return
end

treesitter.setup {
    autotag = {
        enable = true,
    },
    ensure_installed = "lua",
    highlight = {
        enable = true,
    },
    enable = true,
    extended_mode = true,
    max_file_lines = nil,
    }