summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-10-29 13:15:12 -0700
committerFranck Cuny <franck.cuny@gmail.com>2016-10-29 13:15:12 -0700
commit679cd8476b34a48fd5464e8b43d2d7b6b4ebe89e (patch)
treef9658faebc6eb9f63a8e330fcc10fc83c572e74a
parent[emacs] Nicer configuration for `ibuffer'. (diff)
downloademacs.d-679cd8476b34a48fd5464e8b43d2d7b6b4ebe89e.tar.gz
[emacs] Make sure .py and .aurora files are marked as python.
-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