Sha256: d3dc16f3cf661c4ba78fa28c4e12411065612b278255c449168c758cfa03b132

Contents?: true

Size: 355 Bytes

Versions: 16

Compression:

Stored size: 355 Bytes

Contents

# 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

Version data entries

16 entries across 16 versions & 4 rubygems

Version Path
rubocop-1.66.1 lib/rubocop/cli/command/lsp.rb
rubocop-1.66.0 lib/rubocop/cli/command/lsp.rb
rubocop-1.65.1 lib/rubocop/cli/command/lsp.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rubocop-1.64.1/lib/rubocop/cli/command/lsp.rb
rubocop-1.65.0 lib/rubocop/cli/command/lsp.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/rubocop-1.64.1/lib/rubocop/cli/command/lsp.rb
rubocop-1.64.1 lib/rubocop/cli/command/lsp.rb
rubocop-1.63.4 lib/rubocop/cli/command/lsp.rb
rubocop-1.63.3 lib/rubocop/cli/command/lsp.rb
rubocop-1.63.2 lib/rubocop/cli/command/lsp.rb
rubocop-1.63.1 lib/rubocop/cli/command/lsp.rb
rubocop-1.63.0 lib/rubocop/cli/command/lsp.rb
bison-0.1.0 vendor/bundle/ruby/3.2.0/gems/rubocop-1.62.1/lib/rubocop/cli/command/lsp.rb
rubocop-1.62.1 lib/rubocop/cli/command/lsp.rb
rubocop-1.62.0 lib/rubocop/cli/command/lsp.rb
rubocop-1.61.0 lib/rubocop/cli/command/lsp.rb