2024-05-24 16:07:28 +03:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
build = ":TSUpdate",
|
|
|
|
config = function()
|
|
|
|
local configs = require("nvim-treesitter.configs")
|
|
|
|
|
2024-07-09 13:37:12 +03:00
|
|
|
vim.treesitter.language.register("html", "handlebars")
|
|
|
|
|
2024-05-24 16:07:28 +03:00
|
|
|
configs.setup({
|
|
|
|
ensure_installed = {
|
|
|
|
-- web dev
|
|
|
|
"html",
|
|
|
|
"css",
|
|
|
|
"scss",
|
|
|
|
"javascript",
|
|
|
|
"typescript",
|
|
|
|
|
|
|
|
-- config
|
|
|
|
"toml",
|
|
|
|
"yaml",
|
|
|
|
"markdown",
|
|
|
|
"dockerfile",
|
|
|
|
|
|
|
|
-- vim
|
|
|
|
"vim",
|
|
|
|
"vimdoc",
|
|
|
|
"lua",
|
|
|
|
"query",
|
|
|
|
|
|
|
|
-- the cool stuff
|
|
|
|
"elixir",
|
|
|
|
"heex",
|
|
|
|
"rust",
|
|
|
|
"python",
|
|
|
|
"zig",
|
2024-09-01 00:44:34 +03:00
|
|
|
"nim",
|
2024-05-24 16:07:28 +03:00
|
|
|
"bash",
|
|
|
|
|
|
|
|
-- the not so cool stuff
|
|
|
|
"c",
|
|
|
|
"java",
|
|
|
|
"groovy",
|
|
|
|
},
|
|
|
|
sync_install = false,
|
|
|
|
highlight = { enable = true },
|
|
|
|
indent = { enable = true },
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
}
|