Sha256: ffbac980acde4ea4ca582bc2acaac43de24333bc3bffb0bf6568da2f256986e4

Contents?: true

Size: 1.06 KB

Versions: 5

Compression:

Stored size: 1.06 KB

Contents

# frozen_string_literal: true
# Here we define the Language Server Protocol Constants we're using.
# For complete docs, see the following:
# https://microsoft.github.io/language-server-protocol/specifications/specification-current
module ThemeCheck
  module LanguageServer
    module CompletionItemKinds
      TEXT = 1
      METHOD = 2
      FUNCTION = 3
      CONSTRUCTOR = 4
      FIELD = 5
      VARIABLE = 6
      CLASS = 7
      INTERFACE = 8
      MODULE = 9
      PROPERTY = 10
      UNIT = 11
      VALUE = 12
      ENUM = 13
      KEYWORD = 14
      SNIPPET = 15
      COLOR = 16
      FILE = 17
      REFERENCE = 18
      FOLDER = 19
      ENUM_MEMBER = 20
      CONSTANT = 21
      STRUCT = 22
      EVENT = 23
      OPERATOR = 24
      TYPE_PARAMETER = 25
    end

    module TextDocumentSyncKind
      NONE = 0
      FULL = 1
      INCREMENTAL = 2
    end

    module ErrorCodes
      INTERNAL_ERROR = -32603
    end

    module MarkupKinds
      PLAIN_TEXT = 'plaintext'
      MARKDOWN = 'markdown'
    end

    module CompletionItemTag
      DEPRECATED = 1
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
theme-check-1.15.0 lib/theme_check/language_server/protocol.rb
theme-check-1.14.0 lib/theme_check/language_server/protocol.rb
theme-check-1.13.0 lib/theme_check/language_server/protocol.rb
theme-check-1.12.1 lib/theme_check/language_server/protocol.rb
theme-check-1.12.0 lib/theme_check/language_server/protocol.rb