From 3d256c6b3b593c216cab44f25075810d9767e5b0 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Tue, 29 May 2018 16:22:06 -0400 Subject: Support additional JS snippets Because React + Redux + Flow = SO MUCH BOILERPLATE... --- emacs.d/snippets/rjsx-mode/redux-action | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 emacs.d/snippets/rjsx-mode/redux-action (limited to 'emacs.d/snippets/rjsx-mode/redux-action') diff --git a/emacs.d/snippets/rjsx-mode/redux-action b/emacs.d/snippets/rjsx-mode/redux-action new file mode 100644 index 000000000000..d196f8ee809f --- /dev/null +++ b/emacs.d/snippets/rjsx-mode/redux-action @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: redux-action +# key: rax +# -- +export const ${1:$$(lower->caps yas-text)} = '`(downcase (buffer-dirname))`/${1:$(caps->kebab yas-text)}' \ No newline at end of file -- cgit 1.4.1