Skip to content

Commit

Permalink
Merge pull request #12 from parasyte/fix/raw-strings
Browse files Browse the repository at this point in the history
Fix highlighting raw strings
  • Loading branch information
kvark authored Feb 24, 2023
2 parents b42707a + c7ba92e commit c7a464f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions RON.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,13 @@ contexts:
- match: 'r'
- include: raw_string_inner
raw_string_inner:
- match: '#'
- match: '(#*)"'
captures:
1: punctuation.definition.string.begin.ron
push:
- match: '"'
scope: punctuation.definition.string.begin.ron
- meta_scope: string.quoted.double.ron
- match: '"'
- match: '"\1'
scope: punctuation.definition.string.end.ron
- match: '#'
pop: true
value:
- include: constant
Expand Down

0 comments on commit c7a464f

Please sign in to comment.