Skip to content

Commit

Permalink
<data> is in
Browse files Browse the repository at this point in the history
  • Loading branch information
john muhl committed Oct 29, 2011
1 parent f998e4f commit 007adb3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions Commands/Lookup element.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ $tags = {
"mark" =&gt; "the-mark-element",
"dfn" =&gt; "the-dfn-element",
"abbr" =&gt; "the-abbr-element",
"data" =&gt; "the-data-element",
"progress" =&gt; "the-progress-element",
"meter" =&gt; "the-meter-element",
"code" =&gt; "the-code-element",
Expand Down
16 changes: 16 additions & 0 deletions Snippets/<data>.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?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>content</key>
<string>&lt;data value="$1"&gt;$2&lt;/data&gt;$0</string>
<key>name</key>
<string>&lt;data&gt;</string>
<key>scope</key>
<string>text.html</string>
<key>tabTrigger</key>
<string>data</string>
<key>uuid</key>
<string>C5AE4F68-584D-49AD-AF0C-8F495A07BD25</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Syntaxes/HTML 5.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<string>&lt;!DOCTYPE|doctype|&lt;(?i:html)|&lt;\?(?i:php)</string>
<key>foldingStartMarker</key>
<string>(?x)
(&lt;(?i:a|article|aside|audio|blockquote|body|canvas|datalist|details|div|dl|fieldset|figcaption|figure|footer|form|head|header|hgroup|li|mark|menu|meter|nav|ol|output|p|progress|rp|rt|ruby|script|section|select|small|style|summary|table|tbody|tfoot|thead|tr|ul|video)\b.*?&gt;
(&lt;(?i:a|article|aside|audio|blockquote|body|canvas|datalist|details|div|dl|fieldset|figcaption|figure|footer|form|head|header|hgroup|li|mark|menu|meter|nav|ol|output|p|progress|rp|rt|ruby|script|section|select|small|style|summary|table|tbody|tfoot|thead|tr|ul|video|data)\b.*?&gt;
|&lt;!--(?!.*--\s*&gt;)
|^&lt;!--\ \#tminclude\ (?&gt;.*?--&gt;)$
|&lt;\?(?:php)?.*\b(if|for(each)?|while)\b.+:
Expand All @@ -28,7 +28,7 @@
)</string>
<key>foldingStopMarker</key>
<string>(?x)
(&lt;/(?i:a|article|aside|audio|blockquote|body|canvas|datalist|details|div|dl|fieldset|figcaption|figure|footer|form|head|header|hgroup|li|mark|menu|meter|nav|ol|output|p|progress|rp|rt|ruby|script|section|select|small|style|summary|table|tbody|tfoot|thead|tr|ul|video)&gt;
(&lt;/(?i:a|article|aside|audio|blockquote|body|canvas|datalist|details|div|dl|fieldset|figcaption|figure|footer|form|head|header|hgroup|li|mark|menu|meter|nav|ol|output|p|progress|rp|rt|ruby|script|section|select|small|style|summary|table|tbody|tfoot|thead|tr|ul|video|data)&gt;
|^(?!.*?&lt;!--).*?--\s*&gt;
|^&lt;!--\ end\ tminclude\ --&gt;$
|&lt;\?(?:php)?.*\bend(if|for(each)?|while)\b
Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
<string>28149211-5F22-4E40-97C5-D0E3A6959992</string>
<string>9CCF1FDD-A66B-41E4-90D6-3BF48D00A105</string>
<string>5E9C1787-987F-4ACB-8307-2B30333D6D56</string>
<string>C2FC35FB-041E-45AC-BAF5-1813DD69EA2F</string>
<string>C5AE4F68-584D-49AD-AF0C-8F495A07BD25</string>
<string>E438992B-3762-4F98-8ABF-1D8E7DE016D7</string>
<string>C7399601-B555-4051-9828-8DA76BC36697</string>
<string>553B07F3-D33C-40B1-B78C-17DED3BD3FC7</string>
Expand Down

0 comments on commit 007adb3

Please sign in to comment.