Skip to content

Commit 3227a2d

Browse files
authored
Merge pull request #33 from NightsPaladin/master
Syntax Highlight Correction for Regex's inside strings (See Issue #28)
2 parents 5f30e91 + e557fc3 commit 3227a2d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Terraform.tmLanguage

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@
364364
<key>include</key>
365365
<string>#string_interpolation_keywords</string>
366366
</dict>
367+
<dict>
368+
<key>include</key>
369+
<string>#strings</string>
370+
</dict>
367371
</array>
368372
</dict>
369373
<key>string_interpolation_keywords</key>
@@ -411,7 +415,7 @@
411415
</dict>
412416
<dict>
413417
<key>match</key>
414-
<string>([\w\-\/\._\\%]+)</string>
418+
<string>([\w\-\/\._\\%\(\)]+)</string>
415419
<key>name</key>
416420
<string>string.quoted.double.terraform</string>
417421
</dict>

0 commit comments

Comments
 (0)