Permalink
Browse files

made #pragma mark directives show up in the method list

  • Loading branch information...
1 parent ddfc0cf commit 391ca395aa7c7442165d2338ae28c305a7e479d3 Klaas Pieter Annema committed with May 19, 2010
Showing with 29 additions and 0 deletions.
  1. +29 −0 Syntaxes/Objective-J.tmLanguage
@@ -128,6 +128,10 @@
<key>include</key>
<string>$base</string>
</dict>
+ <dict>
+ <key>include</key>
+ <string>#pragma_mark</string>
+ </dict>
</array>
</dict>
<dict>
@@ -574,6 +578,31 @@
</dict>
</array>
</dict>
+ <key>pragma_mark</key>
+ <dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>meta.preprocessor.objj</string>
+ </dict>
+ <key>2</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.control.import.pragma.js.objj</string>
+ </dict>
+ <key>3</key>
+ <dict>
+ <key>name</key>
+ <string>meta.toc-list.pragma-mark.js.objj</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>^\s*(#\s*(pragma\s+mark)\s+(.*))</string>
+ <key>name</key>
+ <string>meta.section</string>
+ </dict>
<key>protocol_list</key>
<dict>
<key>begin</key>

0 comments on commit 391ca39

Please sign in to comment.