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-parse-extras)
|
||||||
(org-lookup-dnd-dump-vars-to-file '(org-lookup-dnd-db) org-lookup-dnd-db-file))
|
(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
|
;;; Local Variables
|
||||||
(add-to-list 'safe-local-eval-forms '(outline-hide-body))
|
(add-to-list 'safe-local-eval-forms '(outline-hide-body))
|
||||||
;; Local Variables:
|
;; Local Variables:
|
||||||
|
Loading…
Reference in New Issue
Block a user