summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 2cedd4a..d8f462a 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -259,7 +259,7 @@
   (setq flycheck-puppet-lint-rc "/Users/fcuny/src/twitter-ops/utilities/puppet/.puppet-lint.rc"))
 
 (use-package python
-  :mode ("\\.aurora$" . python-mode)
+  :mode(("\\.aurora$" . python-mode)
         ("BUILD$" . python-mode)
   :interpreter ("python" . python-mode)
 
@@ -269,6 +269,8 @@
   :config
   (setq python-indent-offset 2)
   (add-hook 'python-mode-hook 'color-identifiers-mode))
+        ("\\.py$" . python-mode))
+
 
 (use-package recentf
   :config