mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-13 00:44:18 +00:00
Working on the rails snippets and conditions
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
# key: mtab
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Drop / Create Table
|
||||
## condition: "meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table"
|
||||
# condition: (yas/rails-intelligent-migration-snippet-condition-p)
|
||||
# --
|
||||
drop_table :${1:table}${2: [press tab twice to generate create_table]}
|
||||
Reference in New Issue
Block a user