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

6 lines
204 B
Plaintext
Raw Normal View History

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