class RuboCop::CLI::Command::LSP

Start Language Server Protocol of RuboCop. @api private

Public Instance Methods

run() click to toggle source
# File lib/rubocop/cli/command/lsp.rb, line 11
def run
  # Load on demand, `languge-server-protocol` is heavy to require.
  require_relative '../../lsp/server'
  RuboCop::LSP::Server.new(@config_store).start
end