lib/rubocop/cli/command/lsp.rb
# frozen_string_literal: true
require_relative '../../lsp/server'
module RuboCop
class CLI
module Command
# Start Language Server Protocol of RuboCop.
# @api private
class LSP < Base
self.command_name = :lsp
def run
RuboCop::LSP::Server.new(@config_store).start
end
end
end
end
end