Enable blacken-mode
when a python project uses it
This commit is contained in:
parent
1b49c700c8
commit
07f68dc9f1
@ -984,6 +984,12 @@
|
||||
(org-lookup-dnd-parse-extras)
|
||||
(org-lookup-dnd-dump-vars-to-file '(org-lookup-dnd-db) org-lookup-dnd-db-file))
|
||||
|
||||
(use-package blacken
|
||||
:hook (python-mode . blacken-mode)
|
||||
:delight
|
||||
:config
|
||||
(setq blacken-only-if-project-is-blackened t))
|
||||
|
||||
;;; Local Variables
|
||||
(add-to-list 'safe-local-eval-forms '(outline-hide-body))
|
||||
;; Local Variables:
|
||||
|
Loading…
Reference in New Issue
Block a user