mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
fixup: don't extend _with_ 'all'
This commit is contained in:
parent
94cb036ba7
commit
7b326a0962
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ function M.setup(user_data)
|
||||||
end
|
end
|
||||||
|
|
||||||
local ensure_installed = user_data.ensure_installed or {}
|
local ensure_installed = user_data.ensure_installed or {}
|
||||||
if type(ensure_installed) == "table" then
|
if type(ensure_installed) == "table" and type(config.ensure_installed) == "table" then
|
||||||
vim.list_extend(ensure_installed, config.ensure_installed)
|
vim.list_extend(ensure_installed, config.ensure_installed)
|
||||||
end
|
end
|
||||||
if #ensure_installed > 0 then
|
if #ensure_installed > 0 then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue