Skip to content

Commit

Permalink
Added support for multiline strings (ripped from Lua syntax definitions)
Browse files Browse the repository at this point in the history
  • Loading branch information
KubeRoot committed Oct 4, 2017
1 parent cf54261 commit 00d6c40
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion crpl.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,22 @@ contexts:
- match: '\w+'
scope: variable.language.crpl
- match: "\"[^\"]*+\"|'[^']*+'"
scope: string.quoted.crpl
scope: string.quoted.crpl
- match: '"'
captures:
0: punctuation.definition.string.begin.crpl
push:
- meta_scope: string.quoted.double.crpl
- match: '"'
captures:
0: punctuation.definition.string.end.crpl
pop: true
- match: "'"
captures:
0: punctuation.definition.string.begin.crpl
push:
- meta_scope: string.quoted.single.crpl
- match: "'"
captures:
0: punctuation.definition.string.end.crpl
pop: true

0 comments on commit 00d6c40

Please sign in to comment.