confi-emacs-actual/snippets/js-mode/function_inline
2022-03-29 19:21:13 -04:00

7 lines
229 B
Plaintext

# -*- mode: snippet -*-
# name: anonymous function
# key: function
# uuid: function_inline
# condition: (or (not (doom-snippets-bolp)) (region-active-p))
# --
function ($1) { `(doom-snippets-format "%n%s%n")`$0 }`(if (eolp) ";")`