aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2016-03-27 00:57:27 +0100
committerFlorian Bruhin <git@the-compiler.org>2016-03-30 17:24:20 +0200
commitc5201b11e208770f2d09054cf3af1ae534ea0e4d (patch)
treefbabbd165117e713fba0438b7fa0df388f2b1c99
parent78257b62432736dfed94b95f38699c95ce229e83 (diff)
downloadconfigs-c5201b11e208770f2d09054cf3af1ae534ea0e4d.tar.gz
configs-c5201b11e208770f2d09054cf3af1ae534ea0e4d.zip
spacemacs: Turn on line wrapping for Python code
-rw-r--r--spacemacs4
1 files changed, 4 insertions, 0 deletions
diff --git a/spacemacs b/spacemacs
index 396662f..4e0fd34 100644
--- a/spacemacs
+++ b/spacemacs
@@ -254,6 +254,10 @@ you should place you code here."
browse-url-generic-program "qutebrowser")
(add-to-list 'auto-mode-alist (cons "\\.asciidoc\\'" 'adoc-mode))
+
+ (add-hook 'python-mode-hook (auto-fill-mode t))
+ (add-hook 'python-mode-hook (set-fill-column 79))
+ (add-hook 'python-mode-hook (spacemacs/toggle-fill-column-indicator-on))
)
;; Do not write anything past this comment. This is where Emacs will