Sha256: b3ae188e63dcd7831fdfe2f0fb7b7845e350f8df5184c7b603ebfebb8fbabf53

Contents?: true

Size: 640 Bytes

Versions: 7

Compression:

Stored size: 640 Bytes

Contents

module LanguageServer
  module Protocol
    module Constants
      #
      # Defines how the host (editor) should sync document changes to the language server.
      #
      module TextDocumentSyncKind
        #
        # Documents should not be synced at all.
        #
        NONE = 0
        #
        # Documents are synced by always sending the full content
        # of the document.
        #
        FULL = 1
        #
        # Documents are synced by sending the full content on open.
        # After that only incremental updates to the document are
        # send.
        #
        INCREMENTAL = 2
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
language_server-protocol-0.2.0 lib/language_server/protocol/constants/text_document_sync_kind.rb
language_server-protocol-0.1.0 lib/language_server/protocol/constants/text_document_sync_kind.rb
language_server-0.4.0 lib/language_server/protocol/constants/text_document_sync_kind.rb
language_server-0.3.1 lib/language_server/protocol/constants/text_document_sync_kind.rb
language_server-0.3.0 lib/language_server/protocol/constants/text_document_sync_kind.rb
language_server-0.2.0 lib/language_server/protocol/constants/text_document_sync_kind.rb
language_server-0.1.0 lib/language_server/protocol/constants/text_document_sync_kind.rb