Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
239 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: function_docstring
  3. # key: fd
  4. # group: definitions
  5. # NOTE: Use minimum indentation, because Emacs 25+ doesn't dedent docstrings.
  6. # --
  7. def ${1:name}($2):
  8. \"\"\"$3
  9. ${2:$(python-args-to-docstring)}
  10. \"\"\"
  11. $0