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:
parent
5e78ed0911
commit
c5c7f0bc99
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ variable."
|
||||||
:safe 'booleanp)
|
:safe 'booleanp)
|
||||||
|
|
||||||
(defvaralias '+format-with 'apheleia-formatter)
|
(defvaralias '+format-with 'apheleia-formatter)
|
||||||
|
(defvaralias '+format-inhibit 'apheleia-inhibit)
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue