f0c8290ae2
fix(format): prefix arg inhibiting format-on-save
...
We bind to basic-save-buffer in :config default (and save-buffer calls
it too), so we advise that instead. However, this is a temporary
solution because it casts way too wide a net. Probably better to add a
new save-without-formatting keybind instead.
Fix : #8420
2025-06-25 17:36:59 +02:00
b6927d0698
bump: :editor
...
emacs-evil/evil-collection@fca81ddb2c -> emacs-evil/evil-collection@4748cfb784
emacs-tree-sitter/ts-fold@6eed69cf2b -> emacs-tree-sitter/ts-fold@327757e436
emacsmirror/visual-fill-column@30fc3e4ea9 -> emacsmirror/visual-fill-column@e391b52922
emacsorphanage/god-mode@9f3f6a1dc9 -> emacsorphanage/god-mode@fbcf7381c4
hlissner/evil-snipe@c2108d3932 -> hlissner/evil-snipe@16317d7e54
joaotavora/yasnippet@2384fe1655 -> joaotavora/yasnippet@c1e6ff23e9
radian-software/apheleia@0c41a5a52c -> radian-software/apheleia@f3308f53d3
2025-06-12 17:10:28 +02:00
50a2ba0586
fix(format): eglot format scratch buffer
2025-06-02 14:18:25 +02:00
4ca742a281
fix(format): lsp format scratch buffer
...
Apheleia wants the formatters to act on the `scratch` buffer
complains if `buffer` was modified.
Fix : #8182
2025-06-02 14:18:25 +02:00
7088257f2e
bump: *
...
Alexander-Miller/treemacs@96a808f067 -> Alexander-Miller/treemacs@820b09db10
FStarLang/fstar-mode.el@36ffb46259 -> FStarLang/fstar-mode.el@3bbfe93abd
JuliaEditorSupport/julia-emacs@0f4d74f904 -> JuliaEditorSupport/julia-emacs@5c940c4ba3
ProofGeneral/PG@85cde55a86 -> ProofGeneral/PG@af2e7b9a4e
Silex/docker.el@3bea08f1d2 -> Silex/docker.el@464105ed8b
Wilfred/helpful@6a4d5e0760 -> Wilfred/helpful@03756fa6ad
abo-abo/swiper@e33b028ed4 -> abo-abo/swiper@2529a23f9f
agda/agda@49a12eab7f -> agda/agda@900bdaa335
alexluigit/dirvish@ecb7c42e20 -> alexluigit/dirvish@e8ec5765da
ardumont/markdown-toc@d2fb4cbd95 -> ardumont/markdown-toc@1b0c5ae7f3
bastibe/org-journal@cf72173233 -> bastibe/org-journal@e581bf5530
clojure-emacs/cider@fdfa7c2200 -> clojure-emacs/cider@12f10a6f4b
clojure-emacs/clojure-mode@eabe29b076 -> clojure-emacs/clojure-mode@b766094aea
company-mode/company-mode@8d599ebc8a -> company-mode/company-mode@41f07c7d40
creichert/ido-vertical-mode.el@b1659e967d -> creichert/ido-vertical-mode.el@35c521789b
dgutov/diff-hl@7da881a957 -> dgutov/diff-hl@aa667ac58a
dimitri/switch-window@61e425e703 -> dimitri/switch-window@8f771b571a
doomelpa/code-review@eeffdd9e20 -> doomelpa/code-review@fba8fe3343
editorconfig/editorconfig-emacs@1a9942746c -> editorconfig/editorconfig-emacs@d2beb3ec2e
ema2159/centaur-tabs@7704f2017c -> ema2159/centaur-tabs@a790dc8fb6
emacs-circe/circe@d0e531bd2a -> emacs-circe/circe@e5e64d549f
emacs-citar/citar-org-roam@ff38add0aa -> emacs-citar/citar-org-roam@9750cfbbf3
emacs-ess/ESS@56f355acbd -> emacs-ess/ESS@d19efaae12
emacs-helm/helm-org@22d60952f8 -> emacs-helm/helm-org@4744ca7f8b
emacs-helm/helm@f948dc4464 -> emacs-helm/helm@5a222a8a6b
emacs-lsp/dap-mode@56e92dd86b -> emacs-lsp/dap-mode@b977566657
emacs-lsp/emacs-ccls@28c7930c89 -> emacs-lsp/emacs-ccls@5636ee6c50
emacs-lsp/helm-lsp@cf4ea6fb42 -> emacs-lsp/helm-lsp@54926afd10
emacs-lsp/lsp-dart@2170823139 -> emacs-lsp/lsp-dart@34e2a1191f
emacs-lsp/lsp-haskell@cd0f5d251c -> emacs-lsp/lsp-haskell@081d5115ce
emacs-lsp/lsp-ivy@bdc730a209 -> emacs-lsp/lsp-ivy@3ee14a24bb
emacs-lsp/lsp-java@6cfff8761e -> emacs-lsp/lsp-java@21c89243ad
emacs-lsp/lsp-metals@345b4fa80e -> emacs-lsp/lsp-metals@e1d9d04f3b
emacs-lsp/lsp-mode@7c0df125c1 -> emacs-lsp/lsp-mode@54251da4ff
emacs-lsp/lsp-pyright@b4cee81af4 -> emacs-lsp/lsp-pyright@73377169be
emacs-lsp/lsp-sourcekit@3bd9750e7e -> emacs-lsp/lsp-sourcekit@1fb230109e
emacs-lsp/lsp-treemacs@312dee2b3a -> emacs-lsp/lsp-treemacs@3e5550f278
emacs-lsp/lsp-ui@09d4080642 -> emacs-lsp/lsp-ui@a0dde8b52b
emacs-php/composer.el@6c7e19256f -> emacs-php/composer.el@eba6b953a4
emacs-php/php-mode@5b6cc1c068 -> emacs-php/php-mode@462b62248f
emacs-php/psysh.el@ae15a36301 -> emacs-php/psysh.el@223bf55975
emacs-rustic/rustic@22a5ef8bfd -> emacs-rustic/rustic@29f912c750
emacs-straight/auctex@6fb366064c -> emacs-straight/auctex@f58a2b972b
emacs-straight/dape@c7a1f1abdb -> emacs-straight/dape@588a907c87
emacs-straight/eglot@6a9e0c76b9 -> emacs-straight/eglot@928c216af5
emacs-straight/org-mode@74dde3abae -> emacs-straight/org-mode@79781bac69
emacs-straight/project@369ac661c8 -> emacs-straight/project@27c6b04914
emacs-straight/sml-mode@021233f60a -> emacs-straight/sml-mode@c33659fd9b
emacs-straight/use-package@d79bac4574 -> emacs-straight/use-package@bbfe01bdf1
emacs-straight/vundo@c32481ab48 -> emacs-straight/vundo@5a666b34e4
emacs-tree-sitter/elisp-tree-sitter@8516c9977e -> emacs-tree-sitter/elisp-tree-sitter@12f92ef399
emacs-tree-sitter/tree-sitter-langs@2ff446b4b8 -> emacs-tree-sitter/tree-sitter-langs@4eb4989d1a
emacsmirror/org-contrib@8d14a600a2 -> emacsmirror/org-contrib@f1f6b6ec81
emacsorphanage/dart-mode@6229941ec5 -> emacsorphanage/dart-mode@f82ff05230
emacsorphanage/ox-pandoc@34e6ea97b5 -> emacsorphanage/ox-pandoc@5766c70b6d
emacsorphanage/quickrun@4b6df453f8 -> emacsorphanage/quickrun@a5c9a5e8c6
ericdallo/hover.el@4ca0638a14 -> ericdallo/hover.el@1b380fa395
erlang/otp@740af6bae5 -> erlang/otp@b9d3ec017d
flycheck/flycheck@b9db1379dc -> flycheck/flycheck@16b536b031
fsharp/emacs-fsharp-mode@bf7a11e1ba -> fsharp/emacs-fsharp-mode@8d08f05788
godotengine/emacs-gdscript-mode@3f3739dd88 -> godotengine/emacs-gdscript-mode@5136be407a
greghendershott/racket-mode@88d82e249e -> greghendershott/racket-mode@c4cc7c160b
hakimel/reveal.js@dfc5690c6d -> hakimel/reveal.js@eb95b14531
haskell/haskell-mode@be2639592f -> haskell/haskell-mode@e9c3567393
https://git.notmuchmail.org/git/notmuch@dfc800c26e7b -> https://git.notmuchmail.org/git/notmuch@d8ebc9cf80b6
https://git.savannah.gnu.org/git/emms.git@8713a0ee985c -> https://git.savannah.gnu.org/git/emms.git@abb4f614dae6
idris-hackers/idris-mode@09de86a8f0 -> idris-hackers/idris-mode@ccf32ed0b5
jcollard/elm-mode@699841865e -> jcollard/elm-mode@90b72cd2c9
jdtsmith/indent-bars@fa293f98ab -> jdtsmith/indent-bars@ea74161b46
jdtsmith/ultra-scroll@b72c507f67 -> jdtsmith/ultra-scroll@f2e4fba601
jimhourihan/glsl-mode@c5f2c2e7ed -> jimhourihan/glsl-mode@86e6bb6cf2
joaotavora/sly@c48defcf58 -> joaotavora/sly@ce17a568ef
jrblevin/markdown-mode@d2d960bec1 -> jrblevin/markdown-mode@90ad4af79a
jschaf/powershell.el@38727f1cda -> jschaf/powershell.el@9efa1b4d0a
magit/magit@bf58615a03 -> magit/magit@531e7ca619
minad/cape@f72ebcaeff -> minad/cape@5546a2db8e
minad/consult-flycheck@3bc2141daf -> minad/consult-flycheck@77d3e790a3
minad/consult@f94d557807 -> minad/consult@ee64a2a299
minad/corfu@061d926d0f -> minad/corfu@2e05fe8244
minad/goggles@d71e85ff8d -> minad/goggles@6141d31c51
minad/marginalia@c51fd9e4d4 -> minad/marginalia@2ff4d690f7
minad/org-modern@3cc432dc99 -> minad/org-modern@6158d3d007
minad/vertico@e0bb699ebf -> minad/vertico@304be874be
mohkale/consult-yasnippet@834d39acfe -> mohkale/consult-yasnippet@a3482dfbdc
msnoigrs/ox-rst@b4ba5c7e95 -> msnoigrs/ox-rst@b73eff187e
oantolin/embark@d5df0eff18 -> oantolin/embark@923d0ec52e
ocaml/dune@a46193e167 -> ocaml/dune@422986440e
ocaml/merlin@2eeb63d002 -> ocaml/merlin@e4c66857ad
oer/org-re-reveal@53e9be7d89 -> oer/org-re-reveal@89ed240450
polymode/poly-R@8024e852cf -> polymode/poly-R@fee0b6e999
purcell/package-lint@43012b41ac -> purcell/package-lint@2dc48e5fb9
purescript-emacs/purescript-mode@a3d6ca4ba5 -> purescript-emacs/purescript-mode@8c4736759a
pythonic-emacs/pyenv-mode@7faed57eb7 -> pythonic-emacs/pyenv-mode@ba1a8c7bd7
rust-lang/rust-mode@efd830806c -> rust-lang/rust-mode@25d91cff28
seagle0128/doom-modeline@1708db2d35 -> seagle0128/doom-modeline@a85cb28da8
seagle0128/grip-mode@e90e3b47d8 -> seagle0128/grip-mode@96a927dce6
seagle0128/nerd-icons-ivy-rich@5006f91b49 -> seagle0128/nerd-icons-ivy-rich@83c7b60595
sebasmonia/sharper@496e90e337 -> sebasmonia/sharper@5049795848
swift-emacs/swift-mode@2c0b2b72dc -> swift-emacs/swift-mode@e30b9d46e0
szermatt/emacs-bash-completion@a4c8fbc902 -> szermatt/emacs-bash-completion@d0637428fd
technomancy/fennel-mode@811f39de12 -> technomancy/fennel-mode@df8e83d6e2
wanderlust/wanderlust@6a0605415d -> wanderlust/wanderlust@d6dcbad228
weijiangan/flycheck-golangci-lint@424ba1b3a1 -> weijiangan/flycheck-golangci-lint@14bf143ea7
ziglang/zig-mode@4ad4edf759 -> ziglang/zig-mode@c46d024733
2025-05-02 14:58:40 -04:00
dd493e48ed
fix(format): wrong-type-argument listp error
2025-04-11 15:49:41 -04:00
fb0dc4cc85
refactor(lib): doom-debug-mode: make verbosity selective
...
Now `doom-debug-mode` manipulates `doom-log-level` if you activate it
with a prefix arg, setting it to 1 by default, reducing its verbosity
and cutting down on noise in the logs.
2025-04-11 12:17:44 -04:00
c233aada0b
fix(format): void-variable callback when formatting w/ lsp-mode
...
Ref: #8182
2025-04-10 19:12:51 -04:00
ae2cdd1c91
refactor(cc): configure clang-format in :editor format
...
These should be upstreamed.
2025-04-09 18:20:36 -04:00
1d3830f8c0
bump: :editor
...
emacs-tree-sitter/ts-fold@a8b69682bb -> emacs-tree-sitter/ts-fold@0b2e87ea53
joaotavora/yasnippet@fe1f4e0e96 -> joaotavora/yasnippet@5b315f1753
justinbarclay/parinfer-rust-mode@044c3fe8f6 -> justinbarclay/parinfer-rust-mode@d5578ec0b2
magnars/multiple-cursors.el@dd10cf2334 -> magnars/multiple-cursors.el@89f1a8df9b
radian-software/apheleia@543f6d651d -> radian-software/apheleia@2c8e8229cb
2025-03-25 14:16:56 -04:00
7032e5797f
bump: :editor
...
edkolev/evil-lion@1e838a53b8 -> edkolev/evil-lion@5a0bca1514
emacs-evil/evil-collection@01d791dd63 -> emacs-evil/evil-collection@58766492f7
emacs-evil/evil@b7ab3840db -> emacs-evil/evil@6bed0e58db
emacs-tree-sitter/ts-fold@01c9ecaaa8 -> emacs-tree-sitter/ts-fold@a8b69682bb
emacsmirror/visual-fill-column@e04d3521b6 -> emacsmirror/visual-fill-column@11575df4e0
juliapath/evil-numbers@c789989451 -> juliapath/evil-numbers@f4bbb729ee
justinbarclay/parinfer-rust-mode@c611628fbe -> justinbarclay/parinfer-rust-mode@044c3fe8f6
magnars/multiple-cursors.el@c870c18462 -> magnars/multiple-cursors.el@dd10cf2334
radian-software/apheleia@429daf5f28 -> radian-software/apheleia@543f6d651d
2025-01-09 23:37:26 -05:00
89b087a283
bump: :editor
...
emacs-evil/evil-collection@6365e7c8ae -> emacs-evil/evil-collection@01d791dd63
emacs-evil/evil@5db0bdc7dc -> emacs-evil/evil@b7ab3840db
emacs-tree-sitter/ts-fold@55f80a202a -> emacs-tree-sitter/ts-fold@01c9ecaaa8
emacsorphanage/god-mode@607aff10a7 -> emacsorphanage/god-mode@9f3f6a1dc9
gabesoft/evil-mc@cff3374bfe -> gabesoft/evil-mc@7e363dd6b0
joaotavora/yasnippet@eb5ba2664c -> joaotavora/yasnippet@fe1f4e0e96
justinbarclay/parinfer-rust-mode@0d16bd75ad -> justinbarclay/parinfer-rust-mode@c611628fbe
radian-software/apheleia@61766b50b2 -> radian-software/apheleia@429daf5f28
- zigfmt is now defined upstream and is no longer needed in lang/zig.
Revert: c7794ba06c
2024-10-31 21:54:20 -04:00
037b018cdd
feat: add .doommodule files
...
These optional dotfiles indicate the root of a module or module
group (:lang), and will later contain module metadata. They will also
serve as an alternative to packages.el and doctor.el, and will aide the
parts of the v3.0 module API concerned with resolving the current module
from a path (`doom-module-from-path`), which currently rely too heavily
on parsing path strings.
For now, however, they're simply placeholders.
2024-09-14 20:47:39 -04:00
7ec570fdf5
fix(format): clang-format: respect c-basic-offset
...
In the absence of a .clang-format file, imposing the value of
`c-basic-offset` onto clang-format seems like reasonable, default
behavior. Like all other cases, this can be disabled by unsetting
`apheleia-formatters-respect-indent-level` globally or mode-locally with
`setq-hook!` or similar.
2024-09-14 20:46:49 -04:00
804da58540
fix(format): disable on-save for LaTeX-mode
...
Since latex-mode != LaTeX-mode.
2024-08-22 12:32:14 -04:00
a0c901cca7
fix(format): lsp-mode/eglot formatters
...
There seems to be context that eglot needs that isn't available in
Apheleia's scratch buffer.
Fix : #7962
2024-08-22 12:32:14 -04:00
abf19aa63e
tweak(format): +format/region: emit message on success
2024-08-20 16:36:22 -04:00
67e5dda526
fix(format): void-function +javascript-npm-conf error
...
Amend: c0a1b9efc9
Close : #8005
2024-08-20 16:27:34 -04:00
50adaa9e48
fix(format): prettier-*: 'void-variable unless' error
...
Also short-circuits the condition with
apheleia-formatters-respect-indent-level, if it's been disabled.
Amend: c0a1b9efc9
Ref: #7998
2024-08-19 16:21:08 -04:00
c0a1b9efc9
fix(format): prettier: don't override prettier indent config
...
Apheleia's default config for prettier adds --use-tabs/--tab-width to
force prettier to match Emacs' indent settings, which is fine until a
prettier config file tries to overwrite it and is ignored. As a
compromise (and stopgap solution), I omit these flags if any prettier
settings are set in the current project.
Fix : #7998
2024-08-18 03:59:18 -04:00
f6040832e5
nit(format): move formatter configs to bottom
...
There will likely be more of these later, so I move them to the bottom
of the :config block.
2024-08-16 14:58:33 -04:00
5e2e886b35
nit: comment revision & reformatting
2024-08-15 23:18:47 -04:00
0bac5fe132
fix(format): register shfmt for sh-mode
...
Apheleia already has a (and better) definition for shfmt.
Fix : #5268
2024-07-30 02:54:25 -04:00
13ed89f235
fix(format): disengage selection after +format-region
...
Fix : #7951
2024-07-16 11:34:14 -04:00
1eaa1aef2c
refactor(format): rename to +format/org-blocks-in-region
...
To better reflect that it operates on multiple blocks.
Ref: #7936
2024-07-14 02:00:24 -04:00
7543b04e15
feat(format): add +format/org-block-in-region
...
Also updates `+org/reformat-at-point` to call
`+format/org-block-in-region` if selection is active.
Fix : #7936
2024-07-14 01:57:20 -04:00
081231b73f
fix(format): apheleia doesn't invoke lsp formatter
...
change `+format--lsp-fn` to run `+format--lsp-fn` in context of main
buffer rather than apheleia's scratch buffer so that the lsp mode can
be discovered
2024-07-08 21:41:39 -04:00
dfe9d572a7
docs(format): hacks: mention save-buffer advice
2024-07-08 13:59:16 -04:00
7d25ba3f6c
fix(format): void function +format-with-lsp-maybe-h error
...
Regression introduced in fd1941b
.
Amend: fd1941b95f
2024-07-08 13:59:06 -04:00
6b526b1b47
refactor(format): +format/org-block: make arg optional
2024-07-07 21:48:17 -04:00
f104f10c5b
docs(format): revise README.org
...
To reflect recent changes and for clarity.
2024-07-07 21:48:17 -04:00
fd1941b95f
refactor!(format): simplify & gate lsp/eglot impl behind +lsp
...
BREAKING CHANGE: This commit introduces two changes, a breaking, one
not.
The breaking change: `+format-with-lsp` used to control lsp-mode/eglot
integration for this module, but it is now gated behind a new +lsp flag.
Users will need to add it to their `doom!` blocks (in $DOOMDIR/init.el)
to restore the integration.
The other change: I've merged the former `lsp` and `eglot` formatters
into a single `lsp` formatter that dispatches to the appropriate
backend, as well as wrapping this integration in a
`+format-with-lsp-mode` minor mode, so it can be toggled at will; mainly
to assist in debugging formatter behavior.
A unified formatter makes it easier for folks to configure
`+format-with` on a per-project/directory/file basis, without needing to
know what backend this module uses, and opens us up to integrating other
LSP backends in the future (like lsp-bridge).
2024-07-07 21:43:27 -04:00
cca40c0277
tweak(format): doom-debug-variables: add apheleia-log-debug-info
2024-07-07 21:43:27 -04:00
d648bfda40
docs(format): revise docstrings and comments
2024-07-07 20:41:03 -04:00
c5c7f0bc99
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.
2024-07-07 16:31:24 -04:00
5e78ed0911
refactor(format): use eglot-server-capable
...
eglot--server-capable was deprecated.
2024-07-07 14:39:50 -04:00
deb59ca4ad
fix(format): LSP formatters before Apheleia is loaded
2024-07-07 14:39:27 -04:00
21a427c33b
fix(format): eglot-managed{,-mode}-hook hook
2024-07-06 21:18:34 -04:00
17d4aaace3
fix(format): add lsp functions
...
Forgot to include these functions in 8072762
. Oops.
Amend: 8072762de8
2024-07-06 21:03:12 -04:00
8072762de8
refactor(format): redesign module
...
Rather than wrap Apheleia in custom formatting logic, I now use
Apheleia's own machinary to integrate into LSP and Eglot, which is less
complexity to maintain. It also makes settings +format-with a more
reliable option for per-project or per-file configuration.
This also adds a +format/org-src-block command, which I'll incorporate
into the org module in a follow-up commit.
Ref: #7685
2024-07-06 19:54:55 -04:00
a3a0629e03
bump: :editor
...
doomemacs/snippets@c1384cc797 -> doomemacs/snippets@3a0b029c5d
emacs-evil/evil-collection@ca977acb83 -> emacs-evil/evil-collection@acb056b1d0
emacs-evil/evil@0251080640 -> emacs-evil/evil@0ad84c5216
emacs-straight/adaptive-wrap@70005d2012 -> emacs-straight/adaptive-wrap@a3b179ea21
emacs-tree-sitter/ts-fold@0627723e5f -> emacs-tree-sitter/ts-fold@6ce584d1ac
emacsmirror/visual-fill-column@5e74afe39d -> emacsmirror/visual-fill-column@e04d3521b6
joaotavora/yasnippet@297546f085 -> joaotavora/yasnippet@eb5ba2664c
juliapath/evil-numbers@7a1b62afc1 -> juliapath/evil-numbers@c789989451
justinbarclay/parinfer-rust-mode@e9a23e136b -> justinbarclay/parinfer-rust-mode@a96c768e9d
magnars/multiple-cursors.el@234806c832 -> magnars/multiple-cursors.el@c870c18462
radian-software/apheleia@96a9805ecb -> radian-software/apheleia@61766b50b2
2024-06-22 18:14:05 -04:00
b405225b90
refactor!(vc-gutter): drop git-gutter for diff-hl
...
BREAKING CHANGE: This removes git-gutter as an implementation for the
`:ui vc-gutter` module, leaving only the diff-hl implementation. There
are no longer any +git-gutter or +diff-hl flags for this module. Users
don't have to do anything to keep the vc gutter, unless they prefer
git-gutter for any reason (in which case they'll need to install and set
it up themselves).
This has been planned for some time, because of a roadmap goal for Doom
to lean into native/built-in functionality where it's equal or better
than the third party alternatives. diff-hl relies on the built-in vc.el
library instead of talking to git directly (thus expanding support to
whatever VCS's vc.el supports, and not git alone), which also means it
can take advantage of its caching and other user configuration for
vc.el. Overall, it is faster and lighter.
What I've also been waiting for was a stage-hunk command, similar to
git-gutter:stage-hunk, which arrived in dgutov/diff-hl@a0560551cd and
dgutov/diff-hl@133538973b , and have evolved since.
Ref: dgutov/diff-hl@a0560551cd
Ref: dgutov/diff-hl@133538973b
Ref: https://github.com/orgs/doomemacs/projects/5/views/1?pane=issue&itemId=58747789
2024-06-22 18:14:04 -04:00
5cc4056abf
fix(format): +format-with-eglot-fn: eglot detection
2024-03-13 01:00:38 -04:00
5c7149da67
docs(format): +format-in-org-src-blocks-fn: add docstring
2024-02-17 07:13:39 -05:00
1e8fd09120
fix(format): +format-in-org-src-blocks-fn
...
Didn't return non-nil, so whether or not it worked, Apheleia would
attempt to (ineffectually) format the org buffer afterwards.
Also remove unneeded beg/end checks (the functions always receive a
value).
2024-02-17 07:13:39 -05:00
9ba6d7191c
refactor(format): improve lsp/eglot formatter dispatchers
2024-02-14 18:12:22 -05:00
e9ea3cc591
feat(format): add eglot support
...
Fix : #7673
2024-02-14 18:12:22 -05:00
20de3d0f29
refactor(format): introduce +format-functions
2024-02-14 18:12:22 -05:00
e701522d68
bump: :editor
...
doomemacs/snippets@d490cba6d7 -> doomemacs/snippets@f022984ee1
emacs-straight/adaptive-wrap@fc9f0306f1 -> emacs-straight/adaptive-wrap@70005d2012
emacs-tree-sitter/ts-fold@75e72c658a -> emacs-tree-sitter/ts-fold@0627723e5f
joaotavora/yasnippet@5cbdbf0d20 -> joaotavora/yasnippet@297546f085
joostkremers/visual-fill-column@695a597892 -> joostkremers/visual-fill-column@db7c7c2365
justinbarclay/parinfer-rust-mode@6e6bdeeba3 -> justinbarclay/parinfer-rust-mode@8df117a3b5
raxod502/apheleia@56651724ad -> raxod502/apheleia@96a9805ecb
2024-02-04 19:18:24 -05:00
659f7bfc71
refactor!: deprecate IS-* OS constants
...
BREAKING CHANGE: This deprecates the IS-(MAC|WINDOWS|LINUX|BSD) family
of global constants in favor of a native `featurep` check:
IS-MAC -> (featurep :system 'macos)
IS-WINDOWS -> (featurep :system 'windows)
IS-LINUX -> (featurep :system 'linux)
IS-BSD -> (featurep :system 'bsd)
The constants will stick around until the v3 release so folks can still
use it -- and there are still some modules that use it, but I'll phase
those uses out gradually.
Fix : #7479
2024-02-04 17:54:29 -05:00