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

7 lines
No EOL
148 B
Text

# -*- mode: snippet; require-final-newline: nil -*-
# name: default value
# key: def
# --
{% if $1 is not defined %}
{% set $1 = $2 %}
{% endif %}