Fix #15
This commit is contained in:
parent
f1d49a678a
commit
4dcac61936
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ export function deactivate() {
|
|||
}
|
||||
|
||||
function _handleContextChange(editor: vsc.TextEditor): void {
|
||||
if (!editor || !editor.document) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (editor.document.languageId) {
|
||||
case 'xquery':
|
||||
XQueryLintingFeatureProvider.provideXQueryDiagnostics(editor);
|
||||
|
|
Loading…
Add table
Reference in a new issue