From 2813f57ab9e0a627b20a27d8b87ce2b82e345c43 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Fri, 19 Jan 2024 15:56:43 -0500 Subject: [PATCH] chore(treesitter): make it easier to modify `list_insert_unique` call --- lua/plugins/treesitter.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 012d4ed..f1c579c 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -6,8 +6,9 @@ return { 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", + opts.ensure_installed, + "lua", + "vim" -- add more arguments for adding more treesitter parsers ) end,