feat(nvim): Add astronvim configuration

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2024-04-12 15:05:52 +02:00
parent 1184466a26
commit 5b754bf8d5
17 changed files with 594 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
-- Customize Treesitter
---@type LazySpec
return {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
"lua",
"vim",
-- add more arguments for adding more treesitter parsers
})
end,
}