FG42/lib/snippets/js-mode/has_many

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