Skip to content

Instantly share code, notes, and snippets.

@mtsmfm
Last active November 21, 2017 18:10
Show Gist options
  • Save mtsmfm/cb1db1389eeede827936c069bdd85fda to your computer and use it in GitHub Desktop.
Save mtsmfm/cb1db1389eeede827936c069bdd85fda to your computer and use it in GitHub Desktop.
wget https://gist.githubusercontent.com/mtsmfm/cb1db1389eeede827936c069bdd85fda/raw/9af1965716fc1635800002fb9b715b9aef98376c/initialize_example
cat initialize_example | bundle exec language_server-ruby
Content-Length: 2070
{
"jsonrpc": "2.0",
"id": 0,
"method": "initialize",
"params": {
"processId": 31296,
"rootPath": "/Users/mtsmfm/ghq/github.com/mtsmfm/language_server-ruby",
"rootUri": "file:///Users/mtsmfm/ghq/github.com/mtsmfm/language_server-ruby",
"capabilities": {
"workspace": {
"applyEdit": true,
"workspaceEdit": {
"documentChanges": true
},
"didChangeConfiguration": {
"dynamicRegistration": false
},
"didChangeWatchedFiles": {
"dynamicRegistration": false
},
"symbol": {
"dynamicRegistration": true
},
"executeCommand": {
"dynamicRegistration": true
}
},
"textDocument": {
"synchronization": {
"dynamicRegistration": true,
"willSave": true,
"willSaveWaitUntil": true,
"didSave": true
},
"completion": {
"dynamicRegistration": true,
"completionItem": {
"snippetSupport": true
}
},
"hover": {
"dynamicRegistration": true
},
"signatureHelp": {
"dynamicRegistration": true
},
"references": {
"dynamicRegistration": true
},
"documentHighlight": {
"dynamicRegistration": true
},
"documentSymbol": {
"dynamicRegistration": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"onTypeFormatting": {
"dynamicRegistration": true
},
"definition": {
"dynamicRegistration": true
},
"codeAction": {
"dynamicRegistration": true
},
"codeLens": {
"dynamicRegistration": true
},
"documentLink": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true
}
}
},
"trace": "off"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment