williamboman / mason.nvim

Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
Apache License 2.0
7.23k stars 258 forks source link

fix: opam update before lsp upgrade #1650

Open mercxry opened 3 months ago

mercxry commented 3 months ago

Hello 👋

I'm fixing a bug where installing a new version of ocaml-lsp would make opam complain about not being able to find the new version locally, this is because opam update needs to be run first to update the local repositories, so I'm running that command before any installation.

williamboman commented 3 months ago

@williambotman /fixup

williamboman commented 3 months ago

Ugh stylua is complaining, I'll fix it shortly.

I just saw the following in their docs which I don't understand, but which might be a bit problematic if it can't be turned off. Will have to research it a bit more

It will also update any packages that are bound to version-controlled sources.