diff options
| author | Amir Khazaie <733amir@gmail.com> | 2023-01-27 18:26:32 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-27 15:56:32 +0100 |
| commit | 1a2b26d37c1601b53d7ef0641fd790ffe3b1c395 (patch) | |
| tree | f7d308b6c9043e9c4772bcab0220ab5d11470f38 | |
| parent | 01a27d15c4c66f0d8626f06d295a05a9a86a1d2f (diff) | |
fix(examples): fix a bug (#10)
According to documentation and my test, this is the way to add new items to the table
| -rw-r--r-- | lua/plugins/example.lua | 4 |
1 files changed, 1 insertions, 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, }, |
