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

8 lines
221 B
Plaintext
Raw Normal View History

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