diff options
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-lang-python.el | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs/custom/my-lang-python.el b/emacs/custom/my-lang-python.el new file mode 100644 index 0000000..74da80b --- /dev/null +++ b/emacs/custom/my-lang-python.el @@ -0,0 +1,16 @@ +;;; my-lang-python.el --- Configures emacs for python -*- lexical-binding: t -*- +;; Author: Franck Cuny <franck@fcuny.net> + +;;; Commentary: + +;;; Code: + +(require 'python-mode) +(require 'blacken) + +;; enable black when we are in python-mode +(add-hook 'python-mode-hook 'blacken-mode) + +(provide 'my-lang-python) + +;;; my-lang-python.el ends here |