all repos

init.lua @ 90603ee37a94ffd2334f63e3cec8d5e06b9fb133

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