Skip to content

Commit da4fc53

Browse files
Updating document selector (Huachao#720)
1 parent 04a2ee6 commit da4fc53

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/extension.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ export async function activate(context: ExtensionContext) {
5151
}));
5252

5353
const documentSelector = [
54-
{ language: 'http', scheme: 'file' },
55-
{ language: 'http', scheme: 'untitled' },
54+
{ language: 'http', scheme: '*' }
5655
];
5756

5857
context.subscriptions.push(languages.registerCompletionItemProvider(documentSelector, new HttpCompletionItemProvider()));
@@ -79,4 +78,4 @@ export async function activate(context: ExtensionContext) {
7978

8079
// this method is called when your extension is deactivated
8180
export function deactivate() {
82-
}
81+
}

0 commit comments

Comments
 (0)