Neovim's built-in LSP with Ruby and Rails | Backtick Blog
08-Jul-2021 2225
Neovim 0.5 was released on Friday, to much fanfare. It includes a built-in support for Microsoft’s Language Server Protocol. LSP adds features like completion, go to definition, documentation on hover, format, rename and refactor. LSP standardises the protocol for this interaction between languages and editors and offers a number of advantages over ctags. One killer advantage is that LSP understands scope, so jump to definitions are verifiably accurate.I couldn’t find a Ruby specific guide for setting up LSP in Neovim, so, after spending some time on it today, here it is. This should get you up and running with Neovim’s built-in LSP, configured for Solargraph, optimised for Rails, and using either Rubocop or StandardRB for linting.
Neovim's built-in LSP with Ruby and Rails | Backtick Blog #ruby #rubydeveloper #rubyonrails #Neovim's #built-in #Rails #Backtick #blog https://rubyonrails.ba/link/neovim-s-built-in-lsp-with-ruby-and-rails-backtick-blog