diff --git a/package.json b/package.json index a8294c21..f2dd3c15 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "email": "stephen@gennard.net" }, "engines": { - "vscode": "^1.96.0" + "vscode": "^1.97.0" }, "extensionKind": [ "workspace" diff --git a/src/vsmargindecorations.ts b/src/vsmargindecorations.ts index 952eb4f7..4ac87fb9 100644 --- a/src/vsmargindecorations.ts +++ b/src/vsmargindecorations.ts @@ -200,6 +200,7 @@ export class VSmargindecorations extends ColourTagHandler { } } } + } else { if (useDefault) { defaultDecorationOptions.push(decoration); } @@ -250,6 +251,7 @@ export class VSmargindecorations extends ColourTagHandler { } } } + } else { if (useDefault) { defaultDecorationOptions.push(decoration); } diff --git a/syntaxes/COBOL.tmLanguage.json b/syntaxes/COBOL.tmLanguage.json index 1fef238f..c18adcf0 100644 --- a/syntaxes/COBOL.tmLanguage.json +++ b/syntaxes/COBOL.tmLanguage.json @@ -83,10 +83,10 @@ } }, { - "match": "(^[0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ])(\\*.*$)", + "match": "(^[0-9a-zA-Z\\s\\$#%\\.@\\- +][0-9a-zA-Z\\s\\$#%\\.@\\- +][0-9a-zA-Z\\s\\$#%\\.@\\- +][0-9a-zA-Z\\s\\$#%\\.@\\- +][0-9a-zA-Z\\s\\$#%\\.@\\- +][0-9a-zA-Z\\s\\$#%\\.@\\- +])(\\*.*$)", "captures": { "1": { - "name": "constant.cobol" + "name": "constant.numeric.cobol" }, "2": { "name": "comment.line.cobol.fixed"