Skip to content

Commit

Permalink
Add new keywords from SUSHI 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jafeltra committed Jul 17, 2023
1 parent 1859ca2 commit 9f2844f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CodeMirrorComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CodeMirror.defineSimpleMode('fsh', {
},
{
regex:
/\b(Alias|CodeSystem|Expression|Extension|Description|Id|Instance|InstanceOf|Invariant|Logical|Mapping|Mixins|Parent|Profile|Resource|RuleSet|Severity|Source|Target|Title|Usage|ValueSet|XPath)(?=\s*:)\b/,
/\b(Alias|Characteristics|Context|CodeSystem|Expression|Extension|Description|Id|Instance|InstanceOf|Invariant|Logical|Mapping|Mixins|Parent|Profile|Resource|RuleSet|Severity|Source|Target|Title|Usage|ValueSet|XPath)(?=\s*:)\b/,
token: 'keyword'
},
{
Expand All @@ -53,7 +53,7 @@ CodeMirror.defineSimpleMode('fsh', {
token: 'def'
},
{
regex: /\b(Reference|Canonical)\s*\(/,
regex: /\b(CodeableReference|Reference|Canonical)\s*\(/,
push: 'closingParen', // Matches the closing parenthesis while not highlighting the content between ( )
token: 'atom'
},
Expand Down

0 comments on commit 9f2844f

Please sign in to comment.