Skip to content

Editor support for Sublime Text with Sublime LSP and Standard Ruby as Ruby LSP Add-on #755

Description

@sebastian-kreis

I found that that the documentation in the wiki on using Standard Ruby in Sublime Text with Sublime LSP as Ruby LSP Add-on, as recommended, was not working for me.

The following configuration finally enabled auto formatting on save. Emphasis on the properties in initializationOptions.

{
  "clients": {
    "ruby-lsp": {
      "enabled": true,
      "command": [
        "ruby-lsp"
      ],
      "selector": "source.ruby",
      "initializationOptions": {
        "formatter": "standard",
        "linters": [
          "standard"
        ]
      }
    }
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions