File tree 2 files changed +31
-0
lines changed
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ This project adheres to [Semantic Versioning](http://semver.org).
6
6
[ Unpublished ] : ../../compare/v1.4.1...HEAD
7
7
8
8
9
+ [ Unpublished]
10
+ ------------------------------------------------------------------------
11
+ * __ Fixed:__ Escaped brackets and quotes not recognised in YASnippets
12
+
13
+
14
+
9
15
[ v1.4.1]
10
16
------------------------------------------------------------------------
11
17
** August 4th, 2021**
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ repository:
163
163
captures :
164
164
1 : name : " punctuation.definition.variable.sigil.dollar-sign.yasnippet"
165
165
166
+ # NOTE: This list should be kept in sync with `yas--escaped-characters`
166
167
" escaped-characters" :
167
168
patterns : [{
168
169
# Escaped backslash
@@ -182,6 +183,30 @@ repository:
182
183
match : " (\\\\ )`"
183
184
captures :
184
185
1 : name : " punctuation.definition.escape.yasnippet"
186
+ },{
187
+ # \'
188
+ name : " constant.character.escape.quote.single.yasnippet"
189
+ match : " (\\\\ )'"
190
+ captures :
191
+ 1 : name : " punctuation.definition.escape.yasnippet"
192
+ },{
193
+ # \"
194
+ name : " constant.character.escape.quote.double.yasnippet"
195
+ match : ' (\\\\ )"'
196
+ captures :
197
+ 1 : name : " punctuation.definition.escape.yasnippet"
198
+ },{
199
+ # \{ \}
200
+ name : " constant.character.escape.bracket.curly.brace.yasnippet"
201
+ match : " (\\\\ )[{}]"
202
+ captures :
203
+ 1 : name : " punctuation.definition.escape.yasnippet"
204
+ },{
205
+ # \( \)
206
+ name : " constant.character.escape.bracket.round.parenthesis.yasnippet"
207
+ match : " (\\\\ )[\\ (\\ )]"
208
+ captures :
209
+ 1 : name : " punctuation.definition.escape.yasnippet"
185
210
}]
186
211
187
212
" embedded-lisp" :
You can’t perform that action at this time.
0 commit comments