aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/syntax_tree.ts
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-31 17:59:59 +0000
committerGitHub <[email protected]>2019-12-31 17:59:59 +0000
commite4d217074d1f2c922cf8c5a247ca05fa06b0b7ed (patch)
tree1df182b9755a83c460c928ad8a0bf5ff76548e3c /editors/code/src/commands/syntax_tree.ts
parentc8b98c46675396c4f9d26c6b001e01c81d84b89e (diff)
parentff0ceb30a9ab4162d0f1241d8b0f9aa531c3c9d2 (diff)
Merge #2711
2711: Add semicolons r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code/src/commands/syntax_tree.ts')
-rw-r--r--editors/code/src/commands/syntax_tree.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands/syntax_tree.ts b/editors/code/src/commands/syntax_tree.ts
index 2ee80f910..02ea9f166 100644
--- a/editors/code/src/commands/syntax_tree.ts
+++ b/editors/code/src/commands/syntax_tree.ts
@@ -76,7 +76,7 @@ class TextDocumentContentProvider
76 76
77 provideTextDocumentContent(uri: vscode.Uri): vscode.ProviderResult<string> { 77 provideTextDocumentContent(uri: vscode.Uri): vscode.ProviderResult<string> {
78 const editor = vscode.window.activeTextEditor; 78 const editor = vscode.window.activeTextEditor;
79 const client = this.ctx.client 79 const client = this.ctx.client;
80 if (!editor || !client) return ''; 80 if (!editor || !client) return '';
81 81
82 let range: lc.Range | undefined; 82 let range: lc.Range | undefined;