I eventually gave up using mason and lsp servers and used nixvim
https://github.com/will-x86/nixos-dotfiles
( ./home/base/nixvim)
https://github.com/will-x86/nixos-dotfiles
( ./home/base/nixvim)
My setup right now is a fairly straightforward nix file listing the plugins and associated packages I want, and then an embedded long-ass lua config file, and I think the nixvim would just make that part of it declarative. I think I'll make a branch on my nixos repo and just have Claude try it. No reason not to.