We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb4a18 commit 9c01caeCopy full SHA for 9c01cae
src/extension.ts
@@ -795,7 +795,7 @@ export function activate(context: vscode.ExtensionContext) {
795
let document = editor.document ;
796
797
// Try to obtain YAML configuration from comments at the top of the query
798
- const re = /^(#.+\n)+/;
+ const re = /^(#.+\r?\n)+/;
799
const m = document.getText().match(re);
800
var shaclFileName;
801
@@ -915,7 +915,7 @@ export function activate(context: vscode.ExtensionContext) {
915
const query = document.getText();
916
917
918
919
const m = query.match(re);
920
var dataFileName;
921
0 commit comments