mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Fix remaining tslint suggestions
This commit is contained in:
parent
4d62cfccbb
commit
62b1b05a0d
15 changed files with 82 additions and 78 deletions
|
@ -34,7 +34,7 @@ export class Server {
|
|||
'm/publishDecorations',
|
||||
(params: PublishDecorationsParams) => {
|
||||
const targetEditor = vscode.window.visibleTextEditors.find(
|
||||
(editor) => editor.document.uri.toString() == params.uri,
|
||||
(editor) => editor.document.uri.toString() === params.uri,
|
||||
);
|
||||
if (!Server.config.highlightingOn || !targetEditor) { return; }
|
||||
Server.highlighter.setHighlights(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue