refactor(plugins): simplify list_insert_unique calls
This commit is contained in:
@@ -2,8 +2,7 @@ return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
-- add more things to the ensure_installed table protecting against community packs modifying it
|
||||
if not opts.ensure_installed then opts.ensure_installed = {} end
|
||||
require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
|
||||
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
|
||||
-- "lua"
|
||||
})
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user