Hi, Wondering if anyone has had/solved this issue.
I've been fighting with nvim-lspconfig and ruby_lsp. I have a lazyvim setup and used mason to install ruby_lsp. The problem is that every time I open a ruby file the lsp client is loaded twice.
I tried modifying my mason.lua according to a video I found like so:
{
"mason-org/mason-lspconfig.nvim",
opts = {
-- Settings to prevent duplicate clients in buffer
ensure_installed = {},
automatic_installation = false,
automatic_setup = false,
automatic_enable = false,
handlers = nil,
},
},
I tried disabling mason-lspconfig entirely and manually installing the ruby gem for the lsp, hoping that the lspconfig would use that. Rubocop (also installed via mason) stopped loading, but the duplicate clients remained. I'm still not sure if this is a problem with mason, nvim-lspconfig, the lsp itself, or lazyvim. My python and lua lsps have been fine. Right now I've given up and switched to using solargraph, but the issue haunts me and I shall not know peace until I manage to fix it.
I personally have a setup using calibre-web-automated and koreader to store books on a server (laptop I put Linux on) and send them to the ereader with opds, but that's a whole thing to set up.
Simplest way I can think of is get an epub off of Anna's archive or zlibrary, connect the kobo to the computer with USB, move the epub to the device. Shows up no problem.