Sha256: 56d0c7bc71dde10e20e61bd47e0dd6ec5267f2ef910884363f4bc2f731b5c08d
Contents?: true
Size: 769 Bytes
Versions: 5
Compression:
Stored size: 769 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_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems