mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-05 15:02:26 +00:00
adding objc-snippets
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: log
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: NSLog(.., _cmd)
|
||||
## condition: "source.objc meta.scope.implementation, source.objc++ meta.scope.implementation"
|
||||
# --
|
||||
NSLog(@"%s$1", _cmd${1/[^%]*(%)?.*/(?1:, :\);)/}$2${1/[^%]*(%)?.*/(?1:\);)/}
|
||||
Reference in New Issue
Block a user