about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-12-22T21·40+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-12-24T15·21+0000
commit96032dbeb0c769bbd36958ff13a1fb4777412628 (patch)
tree9a367e16557ca508ee9ea0b284c39feede8efdfb
parent27c57a1f16809b38aad0690c079f387d4e09a1a5 (diff)
Support JS-style header in web-mode
Yasnippet supports a way to share snippets between related modes. I should do
this instead of just defining a new snippet here. Well... until then.
-rw-r--r--configs/shared/.emacs.d/snippets/web-mode/header7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/snippets/web-mode/header b/configs/shared/.emacs.d/snippets/web-mode/header
new file mode 100644
index 000000000000..ae59c7a50f9c
--- /dev/null
+++ b/configs/shared/.emacs.d/snippets/web-mode/header
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: Header
+# key: hdr
+# --
+/*******************************************************************************
+ * $1
+ ******************************************************************************/
\ No newline at end of file