From 23bcbcd11f567a2659ae413c62c82892eb50a3f1 Mon Sep 17 00:00:00 2001 From: Andrea Crotti Date: Mon, 14 Oct 2024 10:49:20 +0100 Subject: [PATCH] actually avoid extra directives --- snippets/dix-mode/e-in-mono-section | 2 +- snippets/dix-mode/s | 4 ++-- snippets/python-mode/function_docstring | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/dix-mode/e-in-mono-section b/snippets/dix-mode/e-in-mono-section index 9d14896e3..ca539bcc9 100644 --- a/snippets/dix-mode/e-in-mono-section +++ b/snippets/dix-mode/e-in-mono-section @@ -3,7 +3,7 @@ # key: after leaving +# TODO, remove suffix from after leaving # -- ${1:$(dix-yas-lm-to-i)} $0 \ No newline at end of file diff --git a/snippets/dix-mode/s b/snippets/dix-mode/s index 26fcfbaa1..623b1c180 100644 --- a/snippets/dix-mode/s +++ b/snippets/dix-mode/s @@ -3,7 +3,7 @@ # key: $0 \ No newline at end of file diff --git a/snippets/python-mode/function_docstring b/snippets/python-mode/function_docstring index 46ff97a39..045c5176d 100644 --- a/snippets/python-mode/function_docstring +++ b/snippets/python-mode/function_docstring @@ -2,8 +2,8 @@ # name: function_docstring # key: fd # group: definitions +# Use minimum indentation, because Emacs 25+ doesn't dedent docstrings. # -- -# NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings. def ${1:name}($2): \"\"\"$3 ${2:$(python-args-to-docstring)}