mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(format): add +format-inhibit alias
I want both `apheleia-formatter` and `apheleia-inhibit` exposed for easy setting from directory/file-local variables (like .dir-locals.el), but I'd like to abstract away the implementation (Apheleia) a little, hence these aliases. This way, whether or not we're still using Apheleia in a year or three, `+format-with` and `+format-inhibit` should always work.
This commit is contained in:
@ -24,6 +24,7 @@ variable."
|
||||
:safe 'booleanp)
|
||||
|
||||
(defvaralias '+format-with 'apheleia-formatter)
|
||||
(defvaralias '+format-inhibit 'apheleia-inhibit)
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user