From 27510060cac0010353a7e2968c06cf4d533a54f0 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 4 Aug 2018 09:50:47 -0400 Subject: Activate flyspell-prog-mode in Python mode --- init.el | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3