dotfiles/nvim/lua/plugins/treesitter.lua

32 lines
535 B
Lua
Raw Normal View History

2024-08-18 17:49:32 +02:00
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
auto_install = false,
ensure_installed = {
2024-09-27 07:58:21 +02:00
"c",
"rust",
"lua",
"vim",
"vimdoc",
"markdown",
"javascript",
"typescript",
"python",
"html",
"astro",
"tsx",
"gleam",
"bash",
2024-08-18 17:49:32 +02:00
},
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
2024-09-27 07:58:21 +02:00
end,
},
2024-03-02 17:25:11 +01:00
}