LSP working for Ruby

It is my dream that all language servers would be so easy
This commit is contained in:
Radon Rosborough 2020-07-06 18:25:39 -06:00
parent e47e49e353
commit f39f2ca58f
3 changed files with 5 additions and 0 deletions

View File

@ -819,6 +819,7 @@ binding_irb = IRB::Irb.new(workspace)
binding_irb.run(IRB.conf)
`,
run: "ruby main.rb",
lsp: "solargraph stdio",
template: `puts "Hello, world!"
`,
},

View File

@ -57,6 +57,7 @@ qemu-user-static
# Ruby
ruby
ruby-dev
"

View File

@ -50,6 +50,9 @@ cpanm -n Devel::REPL
# ReasonML
npm install -g bs-platform
# Ruby
gem install solargraph
# Rust
rustup component add rls rust-analysis rust-src