all repos

init.lua @ 3a11abdb120b2d851bf43033f83328037b8d82c4

my nvim config

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

1
2
3
4
5
6
7
8
9
10
11
12
13
local M = {}

function M.setup()
  require("nvim-treesitter.configs").setup {
    ensure_installed = { "lua", "go", "gomod", "python", "yaml" },
    indent = { enable = true, disable = { "python", "yaml" } },
    highlight = { enable = true, additional_vim_regex_highlighting = true },
    context_commentstring = { enable = true, enable_autocmd = false },
    autopairs = { enable = true },
  }
end

return M