Closed FerretDetective closed 6 months ago
I'm currently having the exact same problem and I thought it was something odd in my current installation. Nice to see other people are having the same error.
I managed to fix this on my system by changing the pattern in 'lua/mason/health.lua:213' from "(%d+)%.(%d)%.(%d)"
to "(%d+)%.(%d+)%.(%d+)"
.
Let me know if I should submit a PR with this fix, or if I should let an existing maintainer add it.
I'm also affected exactly the same way.
@FerretDetective I have no authority here, but I'd encourage you to make the PR.
MY luarocks
is on version 3.10.0
and your fix will handle it correctly whereas the current one won't.
same issus
and my luarocks version
$>> luarocks --version
/opt/homebrew/bin/luarocks 3.11.0
LuaRocks main command-line interface
not sure why.
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
When using a luarocks version with a minor version number which has more than one digit mason will fail to parse the version number.
Expected behavior
Mason should parse the version number of luarocks regardless of how many digits the minor version number is.
Steps to reproduce
:checkhealth mason
Neovim version (>= 0.7)
NVIM v0.9.5 Build type: Release LuaJIT 2.1.1702233742
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Operating system/version
Linux archlinux 6.7.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 03 Mar 2024 00:30:36 +0000 x86_64 GNU/Linux
Healthcheck output
Screenshots
No response