Skip to content
Browse files

fix: namespace keywords not styled

  • Loading branch information...
1 parent 2681bca commit 66d2cdf7e8f5fec31cf3d0a8c97d1152864b07ba @anvie committed
Showing with 7 additions and 1 deletion.
  1. +7 −1 Syntaxes/SoyTemplate.tmLanguage
View
8 Syntaxes/SoyTemplate.tmLanguage
@@ -20,6 +20,12 @@
</dict>
<dict>
<key>match</key>
+ <string>\bnamespace\b</string>
+ <key>name</key>
+ <string>keyword.control.soy</string>
+ </dict>
+ <dict>
+ <key>match</key>
<string>(//).*$\n?</string>
<key>name</key>
<string>comment.line.double-slash.soy</string>
@@ -279,7 +285,7 @@
<array>
<dict>
<key>match</key>
- <string>\b(namespace|not|and|switch|case|default|sp|true|false|if|else|elseif|param|for|range|foreach|ifempty|call|in)\b</string>
+ <string>\b(not|and|switch|case|default|sp|true|false|if|else|elseif|param|for|range|foreach|ifempty|call|in)\b</string>
<key>name</key>
<string>keyword.control.soy</string>
</dict>

0 comments on commit 66d2cdf

Please sign in to comment.
Something went wrong with that request. Please try again.