LSP working for Ruby
It is my dream that all language servers would be so easy
This commit is contained in:
parent
e47e49e353
commit
f39f2ca58f
|
@ -819,6 +819,7 @@ binding_irb = IRB::Irb.new(workspace)
|
||||||
binding_irb.run(IRB.conf)
|
binding_irb.run(IRB.conf)
|
||||||
`,
|
`,
|
||||||
run: "ruby main.rb",
|
run: "ruby main.rb",
|
||||||
|
lsp: "solargraph stdio",
|
||||||
template: `puts "Hello, world!"
|
template: `puts "Hello, world!"
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
|
|
|
@ -57,6 +57,7 @@ qemu-user-static
|
||||||
|
|
||||||
# Ruby
|
# Ruby
|
||||||
ruby
|
ruby
|
||||||
|
ruby-dev
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,9 @@ cpanm -n Devel::REPL
|
||||||
# ReasonML
|
# ReasonML
|
||||||
npm install -g bs-platform
|
npm install -g bs-platform
|
||||||
|
|
||||||
|
# Ruby
|
||||||
|
gem install solargraph
|
||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
rustup component add rls rust-analysis rust-src
|
rustup component add rls rust-analysis rust-src
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue