diff options
| author | Scott Penrose <penrose@gmail.com> | 2024-10-19 01:53:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-19 13:53:43 +0800 |
| commit | b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898 (patch) | |
| tree | 8d31fdbf62ebd0694a46f13f6bd0d6b2ff78f653 /lua | |
| parent | fix(lspinfo): improve version check, deduplicate #3383 (diff) | |
| download | nvim-lspconfig-b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898.tar nvim-lspconfig-b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898.tar.gz nvim-lspconfig-b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898.tar.bz2 nvim-lspconfig-b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898.tar.lz nvim-lspconfig-b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898.tar.xz nvim-lspconfig-b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898.tar.zst nvim-lspconfig-b58d56c0c7b3dfb1c71797013ad7b4aca5e6b898.zip | |
fix(health): support gopls version command (#3386)
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 7c28f901..818b0260 100644 --- a/lua/lspconfig/health.lua +++ b/lua/lspconfig/health.lua @@ -67,7 +67,7 @@ local function try_fmt_version(prog) local out = nil local cmd --[=[@type string[]]=] local tried = '' - for _, v_arg in ipairs { '--version', '-v', '--help', '-h' } do + for _, v_arg in ipairs { 'version', '--version', '-v', '--help', '-h' } do cmd = { prog, v_arg } out = try_get_cmd_output(cmd) if out then |
