mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -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
|
||||
|
||||
return languages
|
||||
table.sort(languages)
|
||||
return vim.fn.uniq(languages) --[=[@as string[]]=]
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue