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

8 lines
225 B
Plaintext

# -*- 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) ";")`