Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
386 lines (385 sloc) 8.81 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>gsp</string>
</array>
<key>foldingStartMarker</key>
<string>(?x)
(&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl|g:javascript)\b.*?&gt;
|&lt;!--(?!.*--&gt;)
|\{\s*($|\?&gt;\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
)</string>
<key>foldingStopMarker</key>
<string>(?x)
(&lt;/(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl|g:javascript)&gt;
|^\s*--&gt;
|(^|\s)\}
)</string>
<key>keyEquivalent</key>
<string>^~G</string>
<key>name</key>
<string>Grails Server Page</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>&lt;%--+(?!&gt;)=?</string>
<key>contentName</key>
<string>comment.block</string>
<key>end</key>
<string>--%&gt;</string>
</dict>
<dict>
<key>begin</key>
<string>&lt;%+(?!&gt;)=?</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.embedded.begin.groovy</string>
</dict>
</dict>
<key>end</key>
<string>(%)&gt;</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.embedded.end.groovy</string>
</dict>
<key>1</key>
<dict>
<key>name</key>
<string>source.groovy</string>
</dict>
</dict>
<key>name</key>
<string>source.groovy</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.groovy</string>
</dict>
</array>
</dict>
<dict>
<key>include</key>
<string>#embedded-groovy</string>
</dict>
<dict>
<key>begin</key>
<string>(^\s*)?(?=&lt;(?i:g:javascript))</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.whitespace.embedded.leading.js</string>
</dict>
</dict>
<key>contentName</key>
<string>source.js</string>
<key>end</key>
<string>(?&lt;=&gt;)(?!&lt;(?i:g:javascript))(\s*\n)?</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.whitespace.embedded.trailing.js</string>
</dict>
</dict>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>(&lt;)((?i:g:javascript))</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html.grails</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.template.html.grails</string>
</dict>
</dict>
<key>end</key>
<string>/&gt;|(?=&gt;)</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html.grails</string>
</dict>
</dict>
<key>name</key>
<string>meta.tag.template.javascript.html.grails</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
</array>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html.grails</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>source.js</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>entity.name.tag.template.html.grails</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html.grails</string>
</dict>
</dict>
<key>match</key>
<string>((&lt;)/)((?i:g:javascript))(&gt;)</string>
<key>name</key>
<string>meta.tag.template.javascript.html.grails</string>
</dict>
<dict>
<key>begin</key>
<string>(&gt;)</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>meta.tag.template.javascript.html.grails</string>
</dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html.grails</string>
</dict>
</dict>
<key>contentName</key>
<string>source.js</string>
<key>end</key>
<string>(?=&lt;/(?i:g:javascript)&gt;)</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.begin.js</string>
</dict>
</dict>
<key>match</key>
<string>(//).*?((?=&lt;/(?i:g:javascript))|$\n?)</string>
<key>name</key>
<string>comment.line.double-slash.js</string>
</dict>
<dict>
<key>begin</key>
<string>/\*</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.begin.js</string>
</dict>
</dict>
<key>end</key>
<string>\*/|(?=&lt;/(?i:g:javascript))</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.end.js</string>
</dict>
</dict>
<key>name</key>
<string>comment.block.js</string>
</dict>
<dict>
<key>include</key>
<string>source.js</string>
</dict>
</array>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>(&lt;/?)(\w+:\w+)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html.grails</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.template.html.grails</string>
</dict>
</dict>
<key>end</key>
<string>(/?&gt;)</string>
<key>name</key>
<string>meta.tag.template.html.grails</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
</array>
</dict>
<dict>
<key>include</key>
<string>text.html.basic</string>
</dict>
</array>
<key>repository</key>
<dict>
<key>embedded-groovy</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>\$\{</string>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.embedded.groovy</string>
</dict>
</dict>
<key>end</key>
<string>\}</string>
<key>name</key>
<string>source.groovy.embedded.html.grails</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.groovy</string>
</dict>
</array>
</dict>
</array>
</dict>
<key>string-double-quoted</key>
<dict>
<key>begin</key>
<string>"</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.html.grails</string>
</dict>
</dict>
<key>end</key>
<string>"</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.html.grails</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.double.html.grails</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#embedded-groovy</string>
</dict>
</array>
</dict>
<key>string-single-quoted</key>
<dict>
<key>begin</key>
<string>'</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.html.grails</string>
</dict>
</dict>
<key>end</key>
<string>'</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.html.grails</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.single.html.grails</string>
</dict>
<key>tag-attribute</key>
<dict>
<key>match</key>
<string>\b([a-zA-Z\-:]+)</string>
<key>name</key>
<string>entity.other.attribute-name.html.grails</string>
</dict>
<key>tag-stuff</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-attribute</string>
</dict>
<dict>
<key>include</key>
<string>#string-double-quoted</string>
</dict>
<dict>
<key>include</key>
<string>#string-single-quoted</string>
</dict>
</array>
</dict>
</dict>
<key>scopeName</key>
<string>text.html.grails</string>
<key>uuid</key>
<string>E4DECA1B-424C-4A75-AD67-E907F182E4FB</string>
</dict>
</plist>