Permalink
Browse files

Moved command options into the preferences. Now ready for the command…

… to be replaced by a single global command.

Removed tagname escape completions since they didn't work.

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/HTML.tmbundle@8937 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
subtlegradient
subtlegradient committed Feb 17, 2008
1 parent 62330b4 commit 0bab270103ce27ebd896f80ba303859c549ad3c5
@@ -9,8 +9,7 @@
<key>command</key>
<string>#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
-TextmateCodeCompletion.go!({:scope=&gt;:html_attributes})
-</string>
+TextmateCodeCompletion.go!</string>
<key>fallbackInput</key>
<string>line</string>
<key>input</key>
@@ -5,7 +5,7 @@
<key>name</key>
<string>Completions HTML Attributes</string>
<key>scope</key>
- <string>text.html punctuation.definition.tag -source, text.html meta.tag -entity.other.attribute-name -source</string>
+ <string>text.html meta.tag -(entity.other.attribute-name | source | entity.name.tag | string | invalid.illegal.incomplete.html)</string>
<key>settings</key>
<dict>
<key>completions</key>
@@ -316,8 +316,22 @@
<string>Z-INDEX</string>
<string>z-index</string>
</array>
+ <key>disableDefaultCompletion</key>
+ <integer>1</integer>
<key>shellVariables</key>
<array>
+ <dict>
+ <key>name</key>
+ <string>TM_COMPLETION_split</string>
+ <key>value</key>
+ <string>,</string>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>TM_COMPLETION_scope</string>
+ <key>value</key>
+ <string>html_attributes</string>
+ </dict>
<dict>
<key>name</key>
<string>TM_COMPLETIONS</string>
@@ -8,101 +8,14 @@
<string>text.html -(meta.tag | source), invalid.illegal.incomplete.html -source</string>
<key>settings</key>
<dict>
- <key>completions</key>
- <array>
- <string>a</string>
- <string>&lt;abbr</string>
- <string>&lt;acronym</string>
- <string>&lt;address</string>
- <string>&lt;applet</string>
- <string>&lt;area</string>
- <string>&lt;b</string>
- <string>&lt;base</string>
- <string>&lt;basefont</string>
- <string>&lt;bdo</string>
- <string>&lt;big</string>
- <string>&lt;blockquote</string>
- <string>&lt;br</string>
- <string>&lt;button</string>
- <string>&lt;caption</string>
- <string>&lt;center</string>
- <string>&lt;cite</string>
- <string>&lt;code</string>
- <string>&lt;col</string>
- <string>&lt;colgroup</string>
- <string>&lt;dd</string>
- <string>&lt;del</string>
- <string>&lt;dfn</string>
- <string>&lt;dir</string>
- <string>&lt;div</string>
- <string>&lt;dl</string>
- <string>&lt;dt</string>
- <string>&lt;em</string>
- <string>&lt;fieldset</string>
- <string>&lt;font</string>
- <string>&lt;form</string>
- <string>&lt;frame</string>
- <string>&lt;frameset</string>
- <string>&lt;h1</string>
- <string>&lt;h2</string>
- <string>&lt;h3</string>
- <string>&lt;h4</string>
- <string>&lt;h5</string>
- <string>&lt;h6</string>
- <string>&lt;head</string>
- <string>&lt;hr</string>
- <string>&lt;html</string>
- <string>&lt;i</string>
- <string>&lt;iframe</string>
- <string>&lt;img</string>
- <string>&lt;input</string>
- <string>&lt;ins</string>
- <string>&lt;isindex</string>
- <string>&lt;kbd</string>
- <string>&lt;label</string>
- <string>&lt;legend</string>
- <string>&lt;li</string>
- <string>&lt;link</string>
- <string>&lt;map</string>
- <string>&lt;menu</string>
- <string>&lt;meta</string>
- <string>&lt;noframes</string>
- <string>&lt;noscript</string>
- <string>&lt;object</string>
- <string>&lt;ol</string>
- <string>&lt;optgroup</string>
- <string>&lt;option</string>
- <string>&lt;p</string>
- <string>&lt;param</string>
- <string>&lt;pre</string>
- <string>&lt;q</string>
- <string>&lt;s</string>
- <string>&lt;samp</string>
- <string>&lt;script</string>
- <string>&lt;select</string>
- <string>&lt;small</string>
- <string>&lt;span</string>
- <string>&lt;strike</string>
- <string>&lt;strong</string>
- <string>&lt;style</string>
- <string>&lt;sub</string>
- <string>&lt;sup</string>
- <string>&lt;table</string>
- <string>&lt;tbody</string>
- <string>&lt;td</string>
- <string>&lt;textarea</string>
- <string>&lt;tfoot</string>
- <string>&lt;th</string>
- <string>&lt;thead</string>
- <string>&lt;title</string>
- <string>&lt;tr</string>
- <string>&lt;tt</string>
- <string>&lt;u</string>
- <string>&lt;ul</string>
- <string>&lt;var</string>
- </array>
<key>shellVariables</key>
<array>
+ <dict>
+ <key>name</key>
+ <string>TM_COMPLETION_split</string>
+ <key>value</key>
+ <string>,</string>
+ </dict>
<dict>
<key>name</key>
<string>TM_COMPLETIONS</string>

0 comments on commit 0bab270

Please sign in to comment.