Sha256: 943c1605c748618726d15442ceb389646e11b6d8e25ce1741bb9bc116c1963ff
Contents?: true
Size: 718 Bytes
Versions: 1
Compression:
Stored size: 718 Bytes
Contents
module LanguageServer module Protocol module Interface class SignatureHelpRegistrationOptions < TextDocumentRegistrationOptions def initialize(document_selector:, trigger_characters: nil) @attributes = {} @attributes[:triggerCharacters] = trigger_characters if trigger_characters @attributes.freeze end # # The characters that trigger signature help # automatically. # # @return [string[]] def trigger_characters attributes.fetch(:triggerCharacters) end attr_reader :attributes def to_json(*args) attributes.to_json(*args) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
language_server-protocol-0.4.0 | lib/language_server/protocol/interface/signature_help_registration_options.rb |