diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-lsp-installer/health/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/health/init.lua b/lua/nvim-lsp-installer/health/init.lua index 8fed9b75..6af53e77 100644 --- a/lua/nvim-lsp-installer/health/init.lua +++ b/lua/nvim-lsp-installer/health/init.lua @@ -106,7 +106,7 @@ function M.check() name = "Go", check = function(version) -- Parses output such as "go version go1.17.3 darwin/arm64" into major, minor, patch components - local _, _, major, minor = version:find "go(%d+)%.(%d+)%.(%d+)" + local _, _, major, minor = version:find "go(%d+)%.(%d+)" -- Due to https://go.dev/doc/go-get-install-deprecation if not (tonumber(major) >= 1 and tonumber(minor) >= 17) then return "Go version must be >= 1.17." |
