Dotfiles_nvim/lua/editor/highlighting.lua
2024-09-07 20:39:22 +02:00

14 lines
420 B
Lua

return {
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
config = function()
-- Setup --
local config = require('nvim-treesitter.configs')
config.setup({
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
ensure_installed = require('toolchain').get_highlighter_autoinstalls(),
})
end,
}