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

6 lines
204 B
Plaintext

# -*- mode: snippet; require-final-newline: nil -*-
# name: arrow function
# key: =>
# uuid: =>
# --
$1 => `(if (> (doom-snippets-count-lines %) 1) (concat "{ " (doom-snippets-format "%n%s%n") " }") %)`$0