dotfiles/.emacs.d/snippets/dix-mode/section

10 lines
401 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- 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>