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

8 lines
225 B
Plaintext
Raw Permalink Normal View History

2022-03-30 01:21:13 +02:00
# -*- mode: snippet -*-
# name: arr.forEach(function(item) {...})
# key: forefu
# uuid: forefu
# --
`(unless (eq (char-before) ?.) ".")`forEach(function(${1:item}) {
`(doom-snippets-format "%n%s%n")`$0
})`(if (eolp) ";")`