From 67c2168998c829c8739a0a4f73ab9d6117d07f0a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 16 Feb 2019 14:10:22 -0800 Subject: [emacs] Split configuration in multiple files. This is actually an easier thing to maintain. --- emacs.d/custom/fcuny-python.el | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 emacs.d/custom/fcuny-python.el (limited to 'emacs.d/custom/fcuny-python.el') 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) -- cgit 1.4.1