mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-12 16:34:18 +00:00
Working on the rails snippets and conditions
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# key: t.
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: t.string (tcs)
|
||||
## condition: "meta.rails.migration.create_table, meta.rails.migration.change_table"
|
||||
# condition: (and (yas/rails-migration-p) (yas/rails-in-create-table-p))
|
||||
# --
|
||||
t.string :${1:title}
|
||||
t.$0
|
||||
Reference in New Issue
Block a user