Skip to content

Commit 0b2882b

Browse files
committed
Add single quoted string
1 parent 9855128 commit 0b2882b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

AutoHotkey.tmLanguage

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,30 @@
338338
</dict>
339339
</array>
340340
</dict>
341+
<dict>
342+
<key>begin</key>
343+
<string>(')</string>
344+
<key>beginCaptures</key>
345+
<dict>
346+
<key>1</key>
347+
<dict>
348+
<key>name</key>
349+
<string>punctuation.definition.string.ahk</string>
350+
</dict>
351+
</dict>
352+
<key>end</key>
353+
<string>(')(?!')|^</string>
354+
<key>endCaptures</key>
355+
<dict>
356+
<key>1</key>
357+
<dict>
358+
<key>name</key>
359+
<string>punctuation.definition.string.ahk</string>
360+
</dict>
361+
</dict>
362+
<key>name</key>
363+
<string>string.quoted.single.ahk</string>
364+
</dict>
341365
</array>
342366
<key>scopeName</key>
343367
<string>source.ahk</string>

0 commit comments

Comments
 (0)