mirror of
https://github.com/vale981/apheleia
synced 2025-03-04 17:11:40 -05:00
Update apheleia-formatters type spec to avoid customize-variable error (#40)
* Update apheleia-formatters type spec to avoid customize-variable error Declare all of the permitted special symbols used in apheleia-formatters commands. Without this, 'customize-variable never allows settting the value of apheleia-formatters, instead reporting an error about a mismatch between the default value and the type. * Update CHANGELOG.md * Break long line * Update CHANGELOG.md * Update CHANGELOG.md * Create CHANGELOG.md Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
This commit is contained in:
parent
f865c165da
commit
52e0a140a8
2 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,8 @@ The format is based on [Keep a Changelog].
|
|||
* Apheleia no longer triggers `after-set-visited-file-name-hook`,
|
||||
which reduces conflicts with various modes. For example, `lsp-mode`
|
||||
will no longer trigger a reconnect every time you save.
|
||||
* Fix inconsistent `:type` spec preventing use of `customize-variable`
|
||||
on `apheleia-formatters`.
|
||||
|
||||
[#30]: https://github.com/raxod502/apheleia/issues/30
|
||||
[#32]: https://github.com/raxod502/apheleia/pull/32
|
||||
|
|
|
@ -475,6 +475,9 @@ commands, lists of strings and symbols, in the format of
|
|||
(repeat
|
||||
(choice
|
||||
(string :tag "Argument")
|
||||
(const :tag "Look for command in node_modules/.bin" npx)
|
||||
(const :tag "Name of file being formatted" filepath)
|
||||
(const :tag "Name of real file used for input" file)
|
||||
(const :tag "Name of temporary file used for input" input)
|
||||
(const :tag "Name of temporary file used for output" output)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue