dotfiles-nvim/lua/plugins/treesitter.lua

17 lines
452 B
Lua
Raw Normal View History

2023-12-18 09:11:00 +01:00
return {
"nvim-treesitter/nvim-treesitter",
config = function()
2024-01-07 18:19:07 +01:00
require("nvim-treesitter.configs").setup({
2023-12-18 09:11:00 +01:00
modules = {},
ensure_installed = { "lua", "rust" },
sync_install = false,
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
ignore_install = {},
})
2024-01-07 18:19:07 +01:00
end,
2023-12-18 09:11:00 +01:00
}