2023-07-10 13:46:48 +02:00
|
|
|
return function()
|
|
|
|
local configs = require("nvim-treesitter.configs");
|
|
|
|
configs.setup({
|
|
|
|
ensure_installed = {
|
|
|
|
-- nvim
|
|
|
|
"vim", "vimdoc", "lua",
|
|
|
|
-- shell
|
|
|
|
"bash", -- "nu",
|
|
|
|
-- rust
|
|
|
|
"rust", "toml",
|
|
|
|
-- python
|
|
|
|
"python",
|
|
|
|
-- webdev
|
|
|
|
"html", "css", "scss", "typescript", "tsx", "astro",
|
|
|
|
-- markdown
|
|
|
|
"markdown",
|
|
|
|
-- nix
|
|
|
|
"nix",
|
2023-07-10 15:18:34 +02:00
|
|
|
-- haskell
|
|
|
|
"haskell",
|
2023-07-10 13:46:48 +02:00
|
|
|
-- latex
|
|
|
|
"latex", "bibtex",
|
|
|
|
-- misc
|
|
|
|
"gitignore", "yaml", "regex",
|
|
|
|
},
|
|
|
|
sync_install = false,
|
|
|
|
highlight = { enable = true },
|
|
|
|
indent = { enable = true },
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|