Skip to content

Commit

Permalink
🤖: update grammars
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Dec 30, 2023
1 parent 837f9db commit 249372e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/shiki/languages/cobol.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,20 @@
"match": "(?i:substitute-case|substitute)\\s+",
"name": "invalid.illegal.functions.cobolit"
},
{
"match": "((((>>|\\$)[\\s]*)(?i:elif))(.*$))",
"captures": {
"1": {
"name": "invalid.illegal.keyword.control.directive.conditional.cobol"
},
"2": {
"name": "invalid.illegal.entity.name.function.preprocessor.cobol"
},
"3": {
"name": "invalid.illegal.entity.name.function.preprocessor.cobol"
}
}
},
{
"match": "((((>>|\\$)[\\s]*)(?i:if|else|elif|end-if|end-evaluate|end|define|evaluate|when|display|call-convention|set))(.*$))",
"captures": {
Expand Down

0 comments on commit 249372e

Please sign in to comment.