From 1a2b26d37c1601b53d7ef0641fd790ffe3b1c395 Mon Sep 17 00:00:00 2001 From: Amir Khazaie <733amir@gmail.com> Date: Fri, 27 Jan 2023 18:26:32 +0330 Subject: [PATCH] fix(examples): fix a bug (#10) According to documentation and my test, this is the way to add new items to the table --- lua/plugins/example.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/plugins/example.lua b/lua/plugins/example.lua index b2ead9f..39f342f 100644 --- a/lua/plugins/example.lua +++ b/lua/plugins/example.lua @@ -166,12 +166,10 @@ return { { "nvim-treesitter/nvim-treesitter", opts = function(_, opts) + -- add tsx and treesitter vim.list_extend(opts.ensure_installed, { - -- add tsx and treesitter - ensure_installed = { "tsx", "typescript", - }, }) end, },