summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-python.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/custom/fcuny-python.el')
-rw-r--r--emacs.d/custom/fcuny-python.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-python.el b/emacs.d/custom/fcuny-python.el
new file mode 100644
index 0000000..a12c477
--- /dev/null
+++ b/emacs.d/custom/fcuny-python.el
@@ -0,0 +1,8 @@
+(use-package python
+  :mode (("\\.py$"   . python-mode)
+         ("BUILD\\'" . python-mode))
+  :commands python-mode
+  :hook ((python-mode . eldoc-mode))
+  :custom (python-indent-offset 2))
+
+(provide 'fcuny-python)