;; my minibuffer in the process.
(eldoc-mode 0)
- ;; Use "django" style for python docstrings. This ensures that the
+ ;; Use "onetwo" style for python docstrings. This ensures that the
;; leading triple quotes remain on their own line when you paragraph-
- ;; fill the first paragraph of the docstring.
- (setq python-fill-docstring-style 'django)
+ ;; fill the first paragraph of the docstring, and that there is always
+ ;; a blank line at the end of the doctring before the trailing triple-
+ ;; quotes. This can look "wrong" in rare scenarios, but generally when
+ ;; you have several paragraphs and/or code blocks that are bounded
+ ;; above and below by whitespace, this will be more consistent.
+ (setq python-fill-docstring-style 'onetwo)
)