summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-08-04 09:50:47 -0400
committerKyle Meyer <kyle@kyleam.com>2018-08-04 09:50:47 -0400
commit27510060cac0010353a7e2968c06cf4d533a54f0 (patch)
treeb443031251948604ff3b4f2715068094561f7a8a
parentd45a462e6f2f54acd4f8ab5ceb9aded47965c2be (diff)
downloademacs.d-27510060cac0010353a7e2968c06cf4d533a54f0.tar.gz
Activate flyspell-prog-mode in Python mode
-rw-r--r--init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.el b/init.el
index 54ec1b5..fc7697e 100644
--- a/init.el
+++ b/init.el
@@ -1962,6 +1962,7 @@
(setq imenu-create-index-function #'python-imenu-create-index)
(set (make-local-variable 'compile-command) "pytest-3"))
(add-hook 'python-mode-hook #'km/python-set-local-vars)
+ (add-hook 'python-mode-hook 'flyspell-prog-mode)
(bind-keys :map python-mode-map
("C-c C-b" . python-shell-send-buffer)