mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 10:48:45 +02:00
fix(treesitter): dont add to ensure_installed when "all". Fixes #98
This commit is contained in:
parent
ed554160bc
commit
280f4cf299
2 changed files with 6 additions and 2 deletions
|
@ -4,7 +4,9 @@ return {
|
|||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
if type(opts.ensure_installed) == "table" then
|
||||
vim.list_extend(opts.ensure_installed, { "json", "json5", "jsonc" })
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
|
@ -4,7 +4,9 @@ return {
|
|||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
if type(opts.ensure_installed) == "table" then
|
||||
vim.list_extend(opts.ensure_installed, { "typescript", "tsx" })
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue