all repos

init.lua @ a7f4ec5e51169894238c9f5580e0c9478ae50bf7

my nvim config

init.lua/lua/plugin/configs/treesitter.lua(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local M = {}

function M.setup()
  require("nvim-treesitter.configs").setup {
    ensure_installed = { "lua" },
    highlight = { enable = true },
    indent = { enable = true, disable = { "python" } },
    -- autotag = { enable = true },
    -- context_commentstring = { enable = true },
    -- rainbow = {
    -- enable = false,
    -- extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
    -- max_file_lines = 1000, -- Do not enable for files with more than 1000 lines, int
    -- },
  }
end

return M