From 1a1ce44270540dc985d3dfd29282548250c72706 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Tue, 25 Jan 2022 23:34:54 -0500 Subject: [PATCH] Stop numpydoc from inserting Examples section --- emacs.d/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 0b949fc..8d343ca 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -309,7 +309,9 @@ (use-package numpydoc :bind (:map python-mode-map - ("C-c C-n" . numpydoc-generate))) + ("C-c C-n" . numpydoc-generate)) + :config + (setq numpydoc-insert-examples-block nil)) ;; Rust