mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00:00
fix(health): sort language names
This commit is contained in:
committed by
Christian Clason
parent
1181cd9a25
commit
98459ffcf7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user