summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/km-python.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/km-python.el b/init/km-python.el
index 38d0fe6..7840646 100644
--- a/init/km-python.el
+++ b/init/km-python.el
@@ -22,3 +22,6 @@
(compile "py.test2"))))
(add-hook 'python-mode-hook 'km/python-hook)
+
+(add-to-list 'interpreter-mode-alist '("python2" . python-mode))
+(add-to-list 'interpreter-mode-alist '("python3" . python-mode))