Skip to content

Commit

Permalink
Remove directive formatting from NOTE marker (#499)
Browse files Browse the repository at this point in the history
Before this commit, this snippet formatted a NOTE marker as a snippet directive,
as `NOTE:`. As `NOTE` isn't a directive, this triggered a directive warning.
  • Loading branch information
swinkels authored Sep 11, 2024
1 parent 469e9a6 commit 355abc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/python-mode/function_docstring
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# name: function_docstring
# key: fd
# group: definitions
# NOTE: 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
Expand Down

0 comments on commit 355abc3

Please sign in to comment.