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

15 lines
404 B
Lua
Raw Permalink 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,
2024-11-06 13:05:33 +01:00
highlight = { enable = false },
indent = { enable = true },
2024-10-19 16:26:07 +02:00
})
end
2024-10-19 11:19:48 +02:00
}