confi-emacs-actual/snippets/js-mode/function

9 lines
214 B
Plaintext
Raw Normal View History

2022-03-30 01:21:13 +02:00
# -*- mode: snippet -*-
# name: named function
# key: function
# uuid: function_block
# condition: (or (doom-snippets-bolp) (region-active-p))
# --
function ${1:name}($2) {
`(doom-snippets-format "%n%s%n")`$0
}