File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ new H2 header in this file containing the instructions. -->
104104- [ Zed] ( #zed )
105105- [ RubyMine] ( #rubymine )
106106- [ Kate] ( #kate )
107+ - [ Helix] ( #helix )
107108
108109## Emacs Eglot
109110
@@ -304,5 +305,22 @@ Kate will start an instance of the Ruby LSP server in the background for any Rub
304305If starting Ruby LSP succeeds, the entries in the LSP-Client menu are activated.
305306Otherwise the error output can be inspected in the Output window.
306307
308+ ## Helix
309+
310+ To configure the Ruby LSP in Helix you first need to define it as a language server and then set it as the main language server for Ruby.
311+ This will also set ruby-lsp to be used as a formatter with its built-in rubocop integration.
312+
313+ ``` toml
314+ # languages.toml
315+
316+ [language-server .ruby-lsp ]
317+ command = " ruby-lsp"
318+ config = { diagnostics = true , formatting = true }
319+
320+ [[language ]]
321+ name = " ruby"
322+ language-servers = [" ruby-lsp" ]
323+ auto-format = true
324+ ```
307325
308326[ mason-abi ] : https://github.com/williamboman/mason.nvim/issues/1292
You can’t perform that action at this time.
0 commit comments