From: Amir Khazaie <733amir@gmail.com> Date: Fri, 27 Jan 2023 14:56:32 +0000 (+0330) Subject: fix(examples): fix a bug (#10) X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=1a2b26d37c1601b53d7ef0641fd790ffe3b1c395;p=nvim-config.git fix(examples): fix a bug (#10) According to documentation and my test, this is the way to add new items to the table --- 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, },