From 98459ffcf7dfbeea83081166a2d732a8083a91c2 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 24 Jun 2025 12:18:54 +0200 Subject: fix(health): sort language names --- lua/nvim-treesitter/health.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua index e284381dd..b4d0c62d5 100644 --- a/lua/nvim-treesitter/health.lua +++ b/lua/nvim-treesitter/health.lua @@ -135,7 +135,8 @@ function M.check() -- Parser installation checks health.start('Installed languages' .. string.rep(' ', 5) .. 'H L F I J') local languages = config.get_installed() - for _, lang in pairs(languages) do + table.sort(languages) + for _, lang in ipairs(languages) do local parser = parsers[lang] local out = lang .. string.rep(' ', 22 - #lang) if parser and parser.install_info then -- cgit v1.2.3-70-g09d2