Skip to content

Commit bedf634

Browse files
author
Wei Zhe Heng
committed
Add and ignore textDocument/documentColor
1 parent d6fb511 commit bedf634

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/syntax_tree/language_server.rb

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ def run
111111
write(id: request[:id], result: PP.pp(SyntaxTree.parse(store[uri]), +""))
112112
when Request[method: %r{\$/.+}]
113113
# ignored
114+
when Request[method: "textDocument/documentColor", params: { textDocument: { uri: :any } }]
115+
# ignored
114116
else
115117
raise ArgumentError, "Unhandled: #{request}"
116118
end

0 commit comments

Comments
 (0)