I'm using neosnippet to define and expand my snippets.
I have the following snippet defined for javascript development
snippet fn
abbr () => {}
(${1}) => {${2}}
I can insert this snippet when starting to type on a new line using C-k
. However I often find myself in the position where i wish to insert in in an existing line
let something = fn
test.then(fn)
when I'm after fn
on either of these lines I would like to expand the snippet. Can this be achieved using neosnippet?