forked from FG42/FG42
13 lines
349 B
Plaintext
13 lines
349 B
Plaintext
# name: has_many
|
|
# key: hm
|
|
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil)
|
|
# condition: (featurep 'flymake-json)
|
|
# contributor: Sameer Rahmani <lxsameer@gnu.org>
|
|
# --
|
|
{
|
|
"name": "$1",
|
|
"type": "has_many",
|
|
"bulk": ${2:$$(yas-choose-value '("true" "false"))},
|
|
"to": "${1:$(pluralize-string yas-text)}"
|
|
},
|
|
$0 |