From 2c9ff119757b4d0c111ef4fb4bd35dddaf09da2f Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 27 May 2019 13:28:57 +0900 Subject: [PATCH] Update py indent style --- emacs.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.el b/emacs.el index 3821892..8813b87 100644 --- a/emacs.el +++ b/emacs.el @@ -1301,6 +1301,8 @@ found, otherwise returns nil." (with-eval-after-load 'python (defvar python-mode-map (make-sparse-keymap)) (define-key python-mode-map (kbd "C-m") 'newline-and-indent)) +(set-variable 'py-indent-list-style + 'one-level-to-beginning-of-statement) (set-variable 'pydoc-command "python3 -m pydoc")