Skip to content

Commit 14272bc

Browse files
committed
better string matching
1 parent 2a2e1be commit 14272bc

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

GDL.sublime-syntax

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,26 @@ contexts:
108108
- include: autotext
109109
- include: optional
110110
- include: easyparams
111-
- match: "'|`"
111+
- match: "'"
112112
scope: punctuation.definition.string.begin.localized.gdl
113113
push:
114114
- meta_include_prototype: false
115115
- meta_scope: string.quoted.single.gdl
116-
- match: "'|`"
116+
- match: "'"
117+
scope: punctuation.definition.string.end.localized.gdl
118+
pop: true
119+
- include: escaped-byte
120+
- include: string_placeholder
121+
- include: request-param-deprecated
122+
- include: request-param
123+
- include: autotext
124+
- include: optional
125+
- match: "`"
126+
scope: punctuation.definition.string.begin.localized.gdl
127+
push:
128+
- meta_include_prototype: false
129+
- meta_scope: string.quoted.single.gdl
130+
- match: "`"
117131
scope: punctuation.definition.string.end.localized.gdl
118132
pop: true
119133
- include: escaped-byte

0 commit comments

Comments
 (0)