Permalink
Browse files

Introduce first-line match for old-style property lists

Files with a comment on first line containing “property list” (case-insensitive) are now considered old-style property list. This is to recognize converted binary property lists, which have such comment.
  • Loading branch information...
1 parent 5d61fdd commit 59a8e6d93d3a095ad001c109e62971b310fb67ed @sorbits sorbits committed Aug 7, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 Syntaxes/Property List (Old-Style).tmLanguage
@@ -10,6 +10,8 @@
<string>scriptTerminology</string>
<string>savedSearch</string>
</array>
+ <key>firstLineMatch</key>
+ <string>\A// .*?\b(?i:property list)\b</string>
<key>keyEquivalent</key>
<string>^~P</string>
<key>name</key>

0 comments on commit 59a8e6d

Please sign in to comment.