<havenwood>
You could memoize the #to_zip too, by making it a member as well.
<havenwood>
Do keep it simple if you can. Usually it's best to avoid delegating to core classes unless you have a good reason.
<havenwood>
Updated to memoize. The way I'm showing the XML is specific to a user. There are many ways to do it, but keep it simple.
___nick___ has joined #ruby
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
cappy has quit [Quit: Leaving]
aesthetikx has joined #ruby
MsInput has quit [Quit: WeeChat 4.5.0]
___nick___ has quit [Ping timeout: 252 seconds]
___nick___ has joined #ruby
enwu has joined #ruby
user71 has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
hwpplayer1 has joined #ruby
<keremk>
I had lots of trouble trying to get ruby-lsp working on Neovim partly thanks to NixOS complicating things further but I finally managed it. It works as long as I have ruby-lsp as a bundle in the project folder. Is it a good way to have the LSP inside the project though?
hwpplayer1 has quit [Remote host closed the connection]
konsolebox has quit [Quit: .]
brokkoli_origin has quit [Ping timeout: 272 seconds]
<havenwood>
keremk: I'd expect NeoVim to handle ruby-lsp better out of the box. With Helix it _just works_ pretty much. Install the gem and it's autodetected.
<havenwood>
Maybe NixOS is the hangup, like you mention?
<keremk>
havenwood: Yeah that's how it should be working, but alas, it just won't normally. I had to resort to making a Nixvim configuration to make it work. It turned out better so I don't mind now :) for NixOS, Mason was the biggest pain in the backside. It just won't work if you go the Mason route.
<snonux>
++ for Helix, worked for me pretty smoothly as well (ruby-lsp. Solargraph, Rubocop...):-)
<snonux>
But i had to have a Gemfile specifying the Ruby version used for the current project, otherwise ruby-lsp would not detect endless methods