summary refs log tree commit diff
path: root/config/init-python.el
blob: 6a4372ae9f072d32b56c25c2f54150621dae1f82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;;; init-python.el --- Configure python -*- lexical-binding: t -*-
;; Author: Franck Cuny <franck@fcuny.net>

;;; Commentary:

;; All python related things

;;; Code:

(use-package python-mode
  :hook ((python-mode . tree-sitter-hl-mode)
         (python-mode . eglot-ensure)))

(use-package blacken
  :ensure t
  :hook (python-mode . blacken-mode))

(provide 'init-python)

;;; init-python.el ends here