myconfigfiles/.config/nvim/lua/plugins/treesitter.lua

15 lines
405 B
Lua
Raw Normal View History

2024-10-19 11:19:48 +02:00
return {
"nvim-treesitter/nvim-treesitter",
2024-10-19 16:26:07 +02:00
build = ":TSUpdate",
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
2024-10-21 09:02:44 +02:00
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html", "php", "css" },
2024-10-19 16:26:07 +02:00
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
2024-10-19 11:19:48 +02:00
}