Permalink
Browse files

I have found myself editing several ini files while working on a proj…

…ect (don't ask why it uses so many ini files)... so here is an ini/conf file syntax.

git-svn-id: http://svn.textmate.org/trunk/Ini.tmbundle@402 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
Kumar McMillan
Kumar McMillan committed Mar 1, 2005
0 parents commit 8e1d94d365e2ac75817a12ca3fd24fd9f70212ac
Showing with 126 additions and 0 deletions.
  1. +4 −0 README
  2. +112 −0 Syntaxes/Ini.plist
  3. +10 −0 info.plist
4 README
@@ -0,0 +1,4 @@
+ini syntax file, if you're into that sort of thing.
+I stole some colors from Ruby syntax because they are pretty :)
+
+kumar.mcmillan/ gmail.com
@@ -0,0 +1,112 @@
+<?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>backgroundColor</key>
+ <string>#000000</string>
+ <key>fileTypes</key>
+ <array>
+ <string>ini</string>
+ <string>conf</string>
+ </array>
+ <key>foldingStartMarker</key>
+ <string>\[</string>
+ <key>foldingStopMarker</key>
+ <string>\[</string>
+ <key>foregroundColor</key>
+ <string>#ffffff</string>
+ <key>highlightPairs</key>
+ <array>
+ <array>
+ <string>(</string>
+ <string>)</string>
+ </array>
+ <array>
+ <string>[</string>
+ <string>]</string>
+ </array>
+ <array>
+ <string>{</string>
+ <string>}</string>
+ </array>
+ </array>
+ <key>name</key>
+ <string>Ini</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>foregroundColor[1]</key>
+ <string>#CC7833</string>
+ <key>foregroundColor[2]</key>
+ <string>#236B8E</string>
+ <key>match</key>
+ <string>\&lt;([a-zA-Z_]+)\&gt;\s*(=)</string>
+ <key>name</key>
+ <string>definition</string>
+ </dict>
+ <dict>
+ <key>foregroundColor</key>
+ <string>#9933CC</string>
+ <key>match</key>
+ <string>(^;.*)</string>
+ <key>name</key>
+ <string>comments</string>
+ </dict>
+ <dict>
+ <key>foregroundColor[1]</key>
+ <string>#AD9361</string>
+ <key>match</key>
+ <string>^\[(.*)\]</string>
+ <key>name</key>
+ <string>group-title</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>'</string>
+ <key>end</key>
+ <string>'</string>
+ <key>foregroundColor</key>
+ <string>#66CC33</string>
+ <key>name</key>
+ <string>strings.single-quoted</string>
+ <key>swallow</key>
+ <string>\\.</string>
+ </dict>
+ <dict>
+ <key>begin</key>
+ <string>"</string>
+ <key>end</key>
+ <string>"</string>
+ <key>foregroundColor</key>
+ <string>#66CC33</string>
+ <key>name</key>
+ <string>strings.double-quoted</string>
+ </dict>
+ </array>
+ <key>smartTypingPairs</key>
+ <array>
+ <array>
+ <string>(</string>
+ <string>)</string>
+ </array>
+ <array>
+ <string>[</string>
+ <string>]</string>
+ </array>
+ <array>
+ <string>{</string>
+ <string>}</string>
+ </array>
+ <array>
+ <string>"</string>
+ <string>"</string>
+ </array>
+ <array>
+ <string>'</string>
+ <string>'</string>
+ </array>
+ </array>
+ <key>uuid</key>
+ <string>77DC23B6-8A90-11D9-BAA4-000A9584EC8C</string>
+</dict>
+</plist>
@@ -0,0 +1,10 @@
+<?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>Ini</string>
+ <key>uuid</key>
+ <string>77B12BEB-8A90-11D9-BAA4-000A9584EC8C</string>
+</dict>
+</plist>

0 comments on commit 8e1d94d

Please sign in to comment.