mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
fix(install): skip duplicate dependencies
This commit is contained in:
parent
5d539943c6
commit
57aa15d4cc
1 changed files with 2 additions and 1 deletions
|
|
@ -164,7 +164,8 @@ function M.norm_languages(languages, skip)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return languages
|
table.sort(languages)
|
||||||
|
return vim.fn.uniq(languages) --[=[@as string[]]=]
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue