about summary refs log tree commit diff
path: root/snippets/js2-mode/action-type
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2018-09-18T14·18-0400
committerGriffin Smith <root@gws.fyi>2018-09-18T14·18-0400
commit29c7632fd278e6d4228290956534a1195c488fad (patch)
treecaa09f8bb30ea8ef88e1086ea2281311168ae28f /snippets/js2-mode/action-type
parent8ba14144a32ee053d7fa27b836c632eed48b6f54 (diff)
Misc haskell stuff, snippets, etc
Diffstat (limited to 'snippets/js2-mode/action-type')
-rw-r--r--snippets/js2-mode/action-type4
1 files changed, 4 insertions, 0 deletions
diff --git a/snippets/js2-mode/action-type b/snippets/js2-mode/action-type
new file mode 100644
index 000000000000..ef8d1a3863ee
--- /dev/null
+++ b/snippets/js2-mode/action-type
@@ -0,0 +1,4 @@
+# key: at
+# name: action-type
+# --
+export const ${1:FOO_BAR$(->> yas-text s-upcase (s-replace-all '(("-" . "_") (" " . "_"))))}: '${3:ns}/${1:$(-> yas-text s-dashed-words)}' = '$3/${1:$(-> yas-text s-dashed-words)}'$5
\ No newline at end of file