dotfiles/.emacs.d/snippets/dix-mode/e-in-mono-section

9 lines
338 B
Plaintext

# -*- mode: snippet; require-final-newline: nil -*-
# name: <e> in monodix section
# key: <e
# condition: (dix-enclosing-is-mono-section)
# binding: direct-keybinding
#TODO: remove suffix from <i> after leaving <par>
# --
<e lm="${1:`(dix-yas-prev-lemma)`}"> <i>${1:$(dix-yas-lm-to-i)}</i> <par n="${3:$$(dix-yas-choose-pdname)}"/></e>
$0