Fix #15
This commit is contained in:
parent
f1d49a678a
commit
4dcac61936
@ -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…
Reference in New Issue
Block a user