Skip to content

Commit

Permalink
fix col1-7 problem with +
Browse files Browse the repository at this point in the history
  • Loading branch information
spgennard committed Feb 12, 2025
1 parent 2068fda commit 74fe8b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"email": "[email protected]"
},
"engines": {
"vscode": "^1.96.0"
"vscode": "^1.97.0"
},
"extensionKind": [
"workspace"
Expand Down
2 changes: 2 additions & 0 deletions src/vsmargindecorations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export class VSmargindecorations extends ColourTagHandler {
}
}
}
} else {
if (useDefault) {
defaultDecorationOptions.push(decoration);
}
Expand Down Expand Up @@ -250,6 +251,7 @@ export class VSmargindecorations extends ColourTagHandler {
}
}
}
} else {
if (useDefault) {
defaultDecorationOptions.push(decoration);
}
Expand Down
4 changes: 2 additions & 2 deletions syntaxes/COBOL.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 74fe8b0

Please sign in to comment.