legacy-dotfiles/emacs/.emacs.d/snippets/twig-mode/def

7 lines
148 B
Text
Raw Permalink Normal View History

2015-12-16 22:26:55 +01:00
# -*- mode: snippet; require-final-newline: nil -*-
# name: default value
# key: def
# --
{% if $1 is not defined %}
{% set $1 = $2 %}
{% endif %}