mirror of
https://github.com/tomru/lazyvim.git
synced 2026-03-03 06:27:16 +01:00
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:
@@ -166,12 +166,10 @@ return {
|
|||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
vim.list_extend(opts.ensure_installed, {
|
|
||||||
-- add tsx and treesitter
|
-- add tsx and treesitter
|
||||||
ensure_installed = {
|
vim.list_extend(opts.ensure_installed, {
|
||||||
"tsx",
|
"tsx",
|
||||||
"typescript",
|
"typescript",
|
||||||
},
|
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user