my-emacs-d/elpa/yasnippet-20160924.2001/snippets/dix-mode/section
2016-10-20 10:27:10 +02:00

10 lines
401 B
Plaintext

# -*- mode: snippet; require-final-newline: nil -*-
# name: <section> element
# key: <s
# condition: (progn (backward-char 2) (and (not (dix-enclosing-is-mono-section)) (not (member (dix-enclosing-elt 'noerror) '("l" "r" "i" "g" "sdefs")))))
# binding: direct-keybinding
# --
<section id="${1:main}" type="${2:$$(yas-choose-value '("standard" "inconditional" "postblank" "preblank"))}">
$0
</section>