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