aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-06-24 12:18:54 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-06-24 12:23:23 +0200
commit98459ffcf7dfbeea83081166a2d732a8083a91c2 (patch)
treec0894ee28273bea19ef372c3bc19b0fd4577ea22
parentfeat(verilog)!: rename to systemverilog (diff)
downloadnvim-treesitter-98459ffcf7dfbeea83081166a2d732a8083a91c2.tar
nvim-treesitter-98459ffcf7dfbeea83081166a2d732a8083a91c2.tar.gz
nvim-treesitter-98459ffcf7dfbeea83081166a2d732a8083a91c2.tar.bz2
nvim-treesitter-98459ffcf7dfbeea83081166a2d732a8083a91c2.tar.lz
nvim-treesitter-98459ffcf7dfbeea83081166a2d732a8083a91c2.tar.xz
nvim-treesitter-98459ffcf7dfbeea83081166a2d732a8083a91c2.tar.zst
nvim-treesitter-98459ffcf7dfbeea83081166a2d732a8083a91c2.zip
fix(health): sort language names
-rw-r--r--lua/nvim-treesitter/health.lua3
1 files changed, 2 insertions, 1 deletions
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