All inside two brackets is possible too ? 

On Saturday, August 17, 2013 at 10:00:10 PM UTC-3, ivan starkov wrote:
>
> Small tip: To highlight angular ng-* attributes in html like in picture 
> below
>
>
> <https://lh3.googleusercontent.com/-BvEkAENaA7k/UhAcTrvwozI/AAAAAAAAQNk/6_kXq6LK6P4/s1600/2013-08-18-045628_1440x900_scrot.png>
>
>
>
>
>
>
>
> Open your theme file located at Packages/Color Scheme - Default/*.tmTheme 
> find <dict> tag containing <string>Tag attribute</string>  and add section 
> after 
> <dict>
>   <key>name</key>
>   <string>Tag ng attribute</string>
>   <key>scope</key>
>   <string>entity.other.attribute-name.ng</string>
>   <key>settings</key>
>   <dict>
>     <key>fontStyle</key>
>     <string>bold</string>
>     <key>foreground</key>
>     <string>#FFF600</string>
>   </dict>
> </dict>
>
> Open file Packages/HTML/HTML.tmLanguage
> find section 
>   <key>tag-generic-attribute</key>
>   <dict>
> ...
>  </dict>
>  
> and add section after
> <key>tag-ng-attribute</key>
> <dict>
>   <key>match</key>
>   <string>\b(ng-[a-zA-Z\-:]+)</string>
>   <key>name</key>
>   <string>entity.other.attribute-name.ng.html</string>
> </dict>
>
> then find 
> <dict>
>   <key>include</key>
>   <string>#tag-id-attribute</string>
> </dict>
> and add below 
> <dict>
>   <key>include</key>
>   <string>#tag-ng-attribute</string>
> </dict>
>
> monokai theme with HTML.tmLanguage attached.
>
>                  
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to