Limit linting to local files
This commit is contained in:
parent
1e0128fd33
commit
8da29376e3
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export function deactivate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function _handleContextChange(editor: vsc.TextEditor): void {
|
function _handleContextChange(editor: vsc.TextEditor): void {
|
||||||
if (!editor || !editor.document) {
|
if (!editor || !editor.document || editor.document.uri.scheme !== "file") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue