.dotfiles/.config/nvim/lua/nvwynd/plugins/treesitter.lua

49 lines
722 B
Lua

return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local configs = require("nvim-treesitter.configs")
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",
"bash",
-- the not so cool stuff
"c",
"java",
"groovy",
},
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end,
},
}