mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
fixed comment
This commit is contained in:
parent
324cbe839f
commit
498a7912e9
1 changed files with 1 additions and 2 deletions
|
@ -12,9 +12,8 @@ export function handle(params: PublishDecorationsParams) {
|
|||
const targetEditor = vscode.window.visibleTextEditors.find(
|
||||
editor => {
|
||||
const unescapedUri = unescape(editor.document.uri.toString());
|
||||
// Unescaped URI should be something like:
|
||||
// Unescaped URI looks like:
|
||||
// file:///c:/Workspace/ra-test/src/main.rs
|
||||
// RA server might send it with the drive letter uppercased, so we force only the drive letter to lowercase.
|
||||
return unescapedUri === params.uri
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue