Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Execute Line with Ruby:

  * when something results in nil it now prints "nil" and not "" (nothing)
  
Ini Bundle:
  * made the syntax a bit more flexible to color php.ini and lighttpd.conf better
  * made categories and the values below them show up in the symbol list



git-svn-id: http://svn.textmate.org/trunk/Bundles/Ini.tmbundle@4541 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 1369dded3a2999f9f17fe51494de2cfdb48d0e1d 1 parent efcc956
@torsten torsten authored
Showing with 23 additions and 4 deletions.
  1. +19 −0 Preferences/Symbol List Items.tmPreferences
  2. +4 −4 Syntaxes/Ini.plist
View
19 Preferences/Symbol List Items.tmPreferences
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Symbol List Items</string>
+ <key>scope</key>
+ <string>source.ini entity.name.section.group-title.ini, source.ini keyword.other.definition.ini</string>
+ <key>settings</key>
+ <dict>
+ <key>showInSymbolList</key>
+ <integer>1</integer>
+ <key>symbolTransformation</key>
+ <string>s/^([^\[\]]+)$/ $1/;</string>
+ </dict>
+ <key>uuid</key>
+ <string>44CAEF12-223E-11DB-BE7D-0011242E4184</string>
+</dict>
+</plist>
View
8 Syntaxes/Ini.plist
@@ -34,25 +34,25 @@
<array>
<dict>
<key>match</key>
- <string>^\s*#.*</string>
+ <string>#.*$</string>
<key>name</key>
<string>comment.line.number-sign.ini</string>
</dict>
<dict>
<key>match</key>
- <string>^\s*;.*</string>
+ <string>;.*$</string>
<key>name</key>
<string>comment.line.semicolon.ini</string>
</dict>
<dict>
<key>match</key>
- <string>\b([a-zA-Z_]+)\b\s*(=)</string>
+ <string>\b([a-zA-Z0-9_.-]+)\b(?=\s*(=))</string>
<key>name</key>
<string>keyword.other.definition.ini</string>
</dict>
<dict>
<key>match</key>
- <string>^\[(.*)\]</string>
+ <string>^\[(.*?)\]</string>
<key>name</key>
<string>entity.name.section.group-title.ini</string>
</dict>
Please sign in to comment.
Something went wrong with that request. Please try again.