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

8 lines
221 B
Plaintext

# -*- mode: snippet -*-
# name: arr.filter(function(item) {...})
# key: filfu
# uuid: filfu
# --
`(unless (eq (char-before) ?.) ".")`filter(function(${1:item}) {
`(doom-snippets-format "%n%s%n")`$0
})`(if (eolp) ";")`