[PATCH] D69996: [clangd] Fixed colon escaping on Windows
liu hui via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 8 02:49:18 PST 2019
lh123 updated this revision to Diff 228393.
lh123 added a comment.
update diff
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69996/new/
https://reviews.llvm.org/D69996
Files:
clang-tools-extra/clangd/clients/clangd-vscode/1.patch
clang-tools-extra/clangd/clients/clangd-vscode/package.json
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
Index: clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
===================================================================
--- clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
+++ clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
@@ -124,7 +124,8 @@
handleNotification(params: SemanticHighlightingParams) {
const lines: SemanticHighlightingLine[] = params.lines.map(
(line) => ({line : line.line, tokens : decodeTokens(line.tokens)}));
- this.highlighter.highlight(params.textDocument.uri, lines);
+ this.highlighter.highlight(
+ vscode.Uri.parse(params.textDocument.uri).toString(), lines);
}
// Disposes of all disposable resources used by this object.
public dispose() {
Index: clang-tools-extra/clangd/clients/clangd-vscode/package.json
===================================================================
--- clang-tools-extra/clangd/clients/clangd-vscode/package.json
+++ clang-tools-extra/clangd/clients/clangd-vscode/package.json
@@ -2,7 +2,7 @@
"name": "vscode-clangd",
"displayName": "vscode-clangd",
"description": "Clang Language Server",
- "version": "0.0.18",
+ "version": "0.0.19",
"publisher": "llvm-vs-code-extensions",
"homepage": "https://clang.llvm.org/extra/clangd.html",
"engines": {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69996.228393.patch
Type: text/x-patch
Size: 1361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191108/d971449b/attachment-0001.bin>
More information about the cfe-commits
mailing list