mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-06 07:22:25 +00:00
adding objc-snippets
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: cath
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Category Interface
|
||||
## condition: "source.objc, source.objc++"
|
||||
# --
|
||||
@interface ${1:${TM_FILENAME/.*?(\w+).*|.*/(?1:$1:NSObject)/}} (${2:${TM_FILENAME/.*?\w+\W+(\w+).*\..+|.*/(?1:$1:Category)/}})
|
||||
$0
|
||||
@end
|
||||
Reference in New Issue
Block a user