summary refs log tree commit diff
path: root/emacs.d/config/fcuny-python.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/config/fcuny-python.el')
-rw-r--r--emacs.d/config/fcuny-python.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/emacs.d/config/fcuny-python.el b/emacs.d/config/fcuny-python.el
new file mode 100644
index 0000000..16b4cc1
--- /dev/null
+++ b/emacs.d/config/fcuny-python.el
@@ -0,0 +1,12 @@
+(eval-when-compile
+  (require 'use-package))
+
+(use-package python
+  :ensure t
+  :mode (("\\.py$" . python-mode)
+         ("^BUILD$" . python-mode)
+         ("\\.aurora$" . python-mode))
+  :custom (python-indent-offset 2)
+  :hook (eldoc-mode))
+
+(provide 'fcuny-python)