diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/health.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/health.lua b/lua/lspconfig/health.lua index 74a35655..62b489c6 100644 --- a/lua/lspconfig/health.lua +++ b/lua/lspconfig/health.lua @@ -68,7 +68,7 @@ end local function try_fmt_version(prog) local all = nil --- Collected output from all attempts. local tried = '' --- Attempted commands. - for _, v_arg in ipairs { '--version', '-v', 'version', '--help', '-h' } do + for _, v_arg in ipairs { '--version', '-version', 'version', '--help' } do local cmd = { prog, v_arg } local out = try_get_cmd_output(cmd) all = out and ('%s\n%s'):format(all or '', out) or all |
