mirror of
https://github.com/vale981/apheleia
synced 2025-03-04 09:01:42 -05:00
parent
2b9e03a7b2
commit
923cd12108
2 changed files with 6 additions and 1 deletions
|
@ -33,6 +33,10 @@ The format is based on [Keep a Changelog].
|
||||||
* Stylua is used now in `lua-ts-mode` as well as just `lua-mode`, by
|
* Stylua is used now in `lua-ts-mode` as well as just `lua-mode`, by
|
||||||
default ([#275]).
|
default ([#275]).
|
||||||
|
|
||||||
|
### Bugs fixed
|
||||||
|
* Apheleia sometimes failed to determine indent level from Emacs
|
||||||
|
settings even when configured to do so. This is fixed ([#274]).
|
||||||
|
|
||||||
[#209]: https://github.com/radian-software/apheleia/pull/209
|
[#209]: https://github.com/radian-software/apheleia/pull/209
|
||||||
[#229]: https://github.com/radian-software/apheleia/pull/229
|
[#229]: https://github.com/radian-software/apheleia/pull/229
|
||||||
[#257]: https://github.com/radian-software/apheleia/pull/257
|
[#257]: https://github.com/radian-software/apheleia/pull/257
|
||||||
|
@ -44,6 +48,7 @@ The format is based on [Keep a Changelog].
|
||||||
[#264]: https://github.com/radian-software/apheleia/pull/264
|
[#264]: https://github.com/radian-software/apheleia/pull/264
|
||||||
[#267]: https://github.com/radian-software/apheleia/pull/267
|
[#267]: https://github.com/radian-software/apheleia/pull/267
|
||||||
[#271]: https://github.com/radian-software/apheleia/pull/271
|
[#271]: https://github.com/radian-software/apheleia/pull/271
|
||||||
|
[#274]: https://github.com/radian-software/apheleia/issues/274
|
||||||
[#275]: https://github.com/radian-software/apheleia/pull/275
|
[#275]: https://github.com/radian-software/apheleia/pull/275
|
||||||
|
|
||||||
## 4.0 (released 2023-11-23)
|
## 4.0 (released 2023-11-23)
|
||||||
|
|
|
@ -31,7 +31,7 @@ always returns nil to defer to the formatter."
|
||||||
(cond
|
(cond
|
||||||
((not apheleia-formatters-respect-indent-level) nil)
|
((not apheleia-formatters-respect-indent-level) nil)
|
||||||
(indent-tabs-mode tab-flag)
|
(indent-tabs-mode tab-flag)
|
||||||
(indent-var
|
(t
|
||||||
(unless indent-var
|
(unless indent-var
|
||||||
(setq indent-var
|
(setq indent-var
|
||||||
(cl-case major-mode
|
(cl-case major-mode
|
||||||
|
|
Loading…
Add table
Reference in a new issue