diff options
| author | MeanderingProgrammer <meanderingprogrammer@gmail.com> | 2025-07-24 14:41:44 -0700 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-07-25 11:55:13 +0200 |
| commit | 57aa15d4cc6f6459f7f8d864d16f970eb801faff (patch) | |
| tree | d2b0ed6fb618e79b5d67d4051420911b782bee46 /lua | |
| parent | feat(parsers): update angular, beancount, fennel, gleam, idl, javadoc, jinja,... (diff) | |
| download | nvim-treesitter-57aa15d4cc6f6459f7f8d864d16f970eb801faff.tar nvim-treesitter-57aa15d4cc6f6459f7f8d864d16f970eb801faff.tar.gz nvim-treesitter-57aa15d4cc6f6459f7f8d864d16f970eb801faff.tar.bz2 nvim-treesitter-57aa15d4cc6f6459f7f8d864d16f970eb801faff.tar.lz nvim-treesitter-57aa15d4cc6f6459f7f8d864d16f970eb801faff.tar.xz nvim-treesitter-57aa15d4cc6f6459f7f8d864d16f970eb801faff.tar.zst nvim-treesitter-57aa15d4cc6f6459f7f8d864d16f970eb801faff.zip | |
fix(install): skip duplicate dependencies
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/config.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/config.lua b/lua/nvim-treesitter/config.lua index 9a586b7b5..09ea2b7dc 100644 --- a/lua/nvim-treesitter/config.lua +++ b/lua/nvim-treesitter/config.lua @@ -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 |
