summaryrefslogtreecommitdiff
path: root/dix-mode/s
diff options
context:
space:
mode:
Diffstat (limited to 'dix-mode/s')
-rw-r--r--dix-mode/s9
1 files changed, 9 insertions, 0 deletions
diff --git a/dix-mode/s b/dix-mode/s
new file mode 100644
index 0000000..6e854eb
--- /dev/null
+++ b/dix-mode/s
@@ -0,0 +1,9 @@
+# -*- mode: snippet; require-final-newline: nil -*-
+# name: <s> element
+# key: <s
+# binding: direct-keybinding
+# condition: (progn (backward-char 2) (member (dix-enclosing-elt 'noerror) '("l" "r" "i" "g")))
+#Note: requires (eval-after-load 'yasnippet '(add-to-list 'yas-key-syntaxes 'dix-yas-skip-backwards-to-key))
+#so that you can expand it after regular letter chars
+# --
+<s n="$1"/>$0 \ No newline at end of file