fix(examples): fix a bug (#10)

According to documentation and my test, this is the way to add new items to the table
This commit is contained in:
Amir Khazaie 2023-01-27 18:26:32 +03:30 committed by GitHub
parent 01a27d15c4
commit 1a2b26d37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -166,12 +166,10 @@ return {
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
opts = function(_, opts) opts = function(_, opts)
-- add tsx and treesitter
vim.list_extend(opts.ensure_installed, { vim.list_extend(opts.ensure_installed, {
-- add tsx and treesitter
ensure_installed = {
"tsx", "tsx",
"typescript", "typescript",
},
}) })
end, end,
}, },