treesitter: unbreak

This commit is contained in:
Guanran Wang 2024-07-08 14:30:52 +08:00
parent 49f55400d0
commit e72991818b
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -3,14 +3,24 @@ return {
build = ":TSUpdate", build = ":TSUpdate",
opts = { opts = {
ensure_installed = { ensure_installed = {
"nix", "bash",
"c",
"diff",
"html",
"lua", "lua",
"luadoc",
"markdown",
"nix",
"vim", "vim",
"vimdoc",
}, },
sync_install = true,
auto_install = true, auto_install = true,
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true }, indent = { enable = true },
}, },
config = function(_, opts)
require("nvim-treesitter.install").prefer_git = true
require("nvim-treesitter.configs").setup(opts)
end,
} }