-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Description
When I open a Python file, I get two yasnippet warnings. First:
Ignoring unknown directive "NOTE" in file: /home/joost/.emacs.d/elpa/yasnippet-snippets-20240115.1138/snippets/python-mode/function_docstring
function_docstring
has the following line in its header:
# NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings.
Removing the colon (or the entire "NOTE: " part) solves the issue.
Second:
Multiple snippets with same identity: "__iter__"
There are two snippets for __iter__
, one in a file called iter
and one in a file called __iter__
. Unfortunately, both use __iter__
for the name:
directive. Since both snippets essentially do the same thing, perhaps one can be removed?
I know these are minor issues, but the warnings are displayed in the echo area and may push out other, more important, warnings. (Such as an issue with Eglot, in my case...)
pradyparanjpe
Metadata
Metadata
Assignees
Labels
No labels