Permalink
Browse files

Take the category name from the current file.

  • Loading branch information...
1 parent cf4b598 commit f21588d69adaf2b6af754eb9896aebdfb010a505 Chandler Kent committed with Jan 18, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 Snippets/Category.tmSnippet
@@ -3,11 +3,10 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>@interface ${1:NSObject} (${2:Category})
-@end
+ <string>@implementation ${1:${TM_FILENAME/(.*).j/$1/}} (${2:Category})
-@implementation ${1:NSObject} (${2:Category})
$0
+
@end</string>
<key>name</key>
<string>category</string>

0 comments on commit f21588d

Please sign in to comment.