mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-30 02:02:38 -07:00
Add alternative "ruby-lsp" to eglot-server-programs.
* lisp/progmodes/eglot.el (eglot-server-programs): Add "ruby-lsp" to eglot-alternatives for ruby-mode and ruby-ts-mode. https://shopify.github.io/ruby-lsp/editors.html#emacs-eglot
This commit is contained in:
parent
f3c755129f
commit
80f2f07c48
1 changed files with 2 additions and 1 deletions
|
|
@ -275,7 +275,8 @@ automatically)."
|
|||
(tuareg-mode :language-id "ocaml") reason-mode)
|
||||
. ("ocamllsp"))
|
||||
((ruby-mode ruby-ts-mode)
|
||||
. ("solargraph" "socket" "--port" :autoport))
|
||||
. ,(eglot-alternatives
|
||||
'(("solargraph" "socket" "--port" :autoport) "ruby-lsp")))
|
||||
(haskell-mode
|
||||
. ("haskell-language-server-wrapper" "--lsp"))
|
||||
(elm-mode . ("elm-language-server"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue