summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/snippets/twig-mode/if
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/snippets/twig-mode/if')
-rw-r--r--emacs/.emacs.d/snippets/twig-mode/if7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/.emacs.d/snippets/twig-mode/if b/emacs/.emacs.d/snippets/twig-mode/if
new file mode 100644
index 0000000..a9385d9
--- /dev/null
+++ b/emacs/.emacs.d/snippets/twig-mode/if
@@ -0,0 +1,7 @@
+# -*- mode: snippet; require-final-newline: nil -*-
+# name: if
+# key: if
+# --
+{% if $1 %}
+ $0
+{% endif %} \ No newline at end of file