Skip to content

Commit 6c9ed28

Browse files
authored
Merge pull request #59 from mtsmfm/renovate/language-server-protocol-digest
Update language-server-protocol digest to e08a6ca
2 parents 473ba62 + 19fc38e commit 6c9ed28

File tree

9 files changed

+10
-12
lines changed

9 files changed

+10
-12
lines changed

language-server-protocol

lib/language_server/protocol/constant.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ module Constant
3333
autoload :SymbolTag, "language_server/protocol/constant/symbol_tag"
3434
autoload :TextDocumentSaveReason, "language_server/protocol/constant/text_document_save_reason"
3535
autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
36-
autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
3736
autoload :TokenFormat, "language_server/protocol/constant/token_format"
3837
autoload :UniquenessLevel, "language_server/protocol/constant/uniqueness_level"
3938
autoload :WatchKind, "language_server/protocol/constant/watch_kind"
@@ -70,7 +69,6 @@ module Constant
7069
require "language_server/protocol/constant/symbol_tag"
7170
require "language_server/protocol/constant/text_document_save_reason"
7271
require "language_server/protocol/constant/text_document_sync_kind"
73-
require "language_server/protocol/constant/text_document_sync_kind"
7472
require "language_server/protocol/constant/token_format"
7573
require "language_server/protocol/constant/uniqueness_level"
7674
require "language_server/protocol/constant/watch_kind"

lib/language_server/protocol/constant/folding_range_kind.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module FoldingRangeKind
1111
#
1212
COMMENT = 'comment'
1313
#
14-
# Folding range for a imports or includes
14+
# Folding range for imports or includes
1515
#
1616
IMPORTS = 'imports'
1717
#

lib/language_server/protocol/constant/position_encoding_kind.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Constant
88
#
99
module PositionEncodingKind
1010
#
11-
# Character offsets count UTF-8 code units.
11+
# Character offsets count UTF-8 code units (e.g bytes).
1212
#
1313
UTF8 = 'utf-8'
1414
#

lib/language_server/protocol/constant/text_document_sync_kind.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module TextDocumentSyncKind
1818
#
1919
# Documents are synced by sending the full content on open.
2020
# After that only incremental updates to the document are
21-
# send.
21+
# sent.
2222
#
2323
INCREMENTAL = 2
2424
end

lib/language_server/protocol/interface/inlay_hint.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def padding_right
9999
end
100100

101101
#
102-
# A data entry field that is preserved on a inlay hint between
102+
# A data entry field that is preserved on an inlay hint between
103103
# a `textDocument/inlayHint` and a `inlayHint/resolve` request.
104104
#
105105
# @return [LSPAny]

lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def dynamic_registration
2323
end
2424

2525
#
26-
# Indicates which properties a client can resolve lazily on a inlay
26+
# Indicates which properties a client can resolve lazily on an inlay
2727
# hint.
2828
#
2929
# @return [{ properties: string[]; }]

lib/language_server/protocol/interface/show_document_params.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module LanguageServer
22
module Protocol
33
module Interface
44
#
5-
# Params to show a document.
5+
# Params to show a resource.
66
#
77
class ShowDocumentParams
88
def initialize(uri:, external: nil, take_focus: nil, selection: nil)
@@ -17,7 +17,7 @@ def initialize(uri:, external: nil, take_focus: nil, selection: nil)
1717
end
1818

1919
#
20-
# The document uri to show.
20+
# The uri to show.
2121
#
2222
# @return [string]
2323
def uri
@@ -26,7 +26,7 @@ def uri
2626

2727
#
2828
# Indicates to show the resource in an external program.
29-
# To show for example `https://code.visualstudio.com/`
29+
# To show, for example, `https://code.visualstudio.com/`
3030
# in the default WEB browser set `external` to `true`.
3131
#
3232
# @return [boolean]

lib/language_server/protocol/interface/symbol_information.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def deprecated
5858
# the range usually spans more then the actual symbol's name and does
5959
# normally include things like visibility modifiers.
6060
#
61-
# The range doesn't have to denote a node range in the sense of a abstract
61+
# The range doesn't have to denote a node range in the sense of an abstract
6262
# syntax tree. It can therefore not be used to re-construct a hierarchy of
6363
# the symbols.
6464
#

0 commit comments

Comments
 (0)