Sha256: 3aac0be30f672ba5c55e80dcc0470c272dffbd6f87d02f990bd8935711ec2aec

Contents?: true

Size: 593 Bytes

Versions: 21

Compression:

Stored size: 593 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module RubyLsp
  module Requests
    module Support
      module Formatter
        extend T::Sig
        extend T::Helpers

        interface!

        sig { abstract.params(uri: URI::Generic, document: Document).returns(T.nilable(String)) }
        def run_formatting(uri, document); end

        sig do
          abstract.params(
            uri: URI::Generic,
            document: Document,
          ).returns(T.nilable(T::Array[Interface::Diagnostic]))
        end
        def run_diagnostic(uri, document); end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ruby-lsp-0.17.13 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.12 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.11 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.10 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.9 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.8 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.7 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.6 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.5 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.4 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.3 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.2 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.1 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.0 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.16.6 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.16.5 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.16.4 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.16.3 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.16.2 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.16.1 lib/ruby_lsp/requests/support/formatter.rb