Sha256: 7a82f50ee2f538912bb04b5355712303b5f144bd99a3203c7bf90a722a30f175

Contents?: true

Size: 601 Bytes

Versions: 10

Compression:

Stored size: 601 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: RubyDocument).returns(T.nilable(String)) }
        def run_formatting(uri, document); end

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby-lsp-0.19.0 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.18.4 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.18.3 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.18.2 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.18.1 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.18.0 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.17 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.16 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.15 lib/ruby_lsp/requests/support/formatter.rb
ruby-lsp-0.17.14 lib/ruby_lsp/requests/support/formatter.rb