Skip to content

Commit 23bcbcd

Browse files
committed
actually avoid extra directives
1 parent fd9a649 commit 23bcbcd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

snippets/dix-mode/e-in-mono-section

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# key: <e
44
# condition: (dix-enclosing-is-mono-section)
55
# binding: direct-keybinding
6-
#TODO: remove suffix from <i> after leaving <par>
6+
# TODO, remove suffix from <i> after leaving <par>
77
# --
88
<e lm="${1:`(dix-yas-prev-lemma)`}"> <i>${1:$(dix-yas-lm-to-i)}</i> <par n="${3:$$(dix-yas-choose-pdname)}"/></e>
99
$0

snippets/dix-mode/s

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# key: <s
44
# binding: direct-keybinding
55
# condition: (progn (backward-char 2) (member (dix-enclosing-elt 'noerror) '("l" "r" "i" "g")))
6+
# requires (eval-after-load 'yasnippet '(add-to-list 'yas-key-syntaxes 'dix-yas-skip-backwards-to-key))
7+
# so that you can expand it after regular letter chars
68
# --
7-
# Note: requires (eval-after-load 'yasnippet '(add-to-list 'yas-key-syntaxes 'dix-yas-skip-backwards-to-key))
8-
#so that you can expand it after regular letter chars
99
<s n="$1"/>$0

snippets/python-mode/function_docstring

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# name: function_docstring
33
# key: fd
44
# group: definitions
5+
# Use minimum indentation, because Emacs 25+ doesn't dedent docstrings.
56
# --
6-
# NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings.
77
def ${1:name}($2):
88
\"\"\"$3
99
${2:$(python-args-to-docstring)}

0 commit comments

Comments
 (0)