Dotfiles_nvim/lua/editor/highlighting.lua

15 lines
420 B
Lua
Raw Normal View History

2024-07-02 21:52:43 +00:00
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 },
2024-09-07 18:39:22 +00:00
ensure_installed = require('toolchain').get_highlighter_autoinstalls(),
2024-07-02 21:52:43 +00:00
})
end,
}