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:
Henrik Lissner 2024-07-07 16:31:24 -04:00
parent 5e78ed0911
commit c5c7f0bc99
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -24,6 +24,7 @@ variable."
:safe 'booleanp)
(defvaralias '+format-with 'apheleia-formatter)
(defvaralias '+format-inhibit 'apheleia-inhibit)
;;