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

7 lines
229 B
Plaintext
Raw Permalink Normal View History

2022-03-30 01:21:13 +02:00
# -*- 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) ";")`