Commit graph

19473 commits

Author SHA1 Message Date
Ellis Kenyő
c9d9051ef9
docs(cc): Add formatter docs 2023-09-13 20:21:01 +01:00
Ellis Kenyő
9093f986dc
docs(beancount): Add formatter docs 2023-09-13 20:21:01 +01:00
Ellis Kenyő
dc3b5c3710
fix(format): handle git-gutter nicely 2023-09-13 20:21:01 +01:00
Ellis Kenyő
7e15504163
feat(format): add :tools docker formatter 2023-09-13 20:21:01 +01:00
Ellis Kenyő
c7794ba06c
feat(format): add :lang zig formatter 2023-09-13 20:21:01 +01:00
Ellis Kenyő
c2980d1d7b
feat(format): add :lang swift formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
7b46177d19
feat(format): add :lang sml formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
d8dc579fcb
feat(format): add :lang scheme formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyo
3c96f33cb8
feat(format): add :lang scala formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyo
caa6b2bb3b
feat(format): add :lang rst formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
7bdf8802a5
feat(format): add :lang racket formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
d1697cb4d9
feat(format): add :lang purescript formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
5cbc7a0258
feat(format): add :lang nim formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
856d365f2f
feat(format): add :lang hy formatter 2023-09-13 20:21:00 +01:00
Ellis Kenyő
efd5ee00ea
feat(format): add :lang fortran formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
12c901cf28
feat(format): add :lang gdscript formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
a9b4f6e219
feat(format): add :lang erlang formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
f80f52ba4f
feat(format): add :lang data formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
53fe5df6b5
feat(format): add :lang csharp formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
078bf0dd2e
feat(format): add :lang crystal formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
4d51e46c9f
feat(format): add :lang common-lisp formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
9a7eae77c8
feat(format): add :lang clojure formatter 2023-09-13 20:20:59 +01:00
Ellis Kenyő
bfb963f2f3
feat(format): add :lang cc formatter 2023-09-13 20:20:58 +01:00
Ellis Kenyő
cd79edf134
feat(format): add :lang emacs-lisp formatter
Introduce a formatter function for emacs-lisp (tracked upstream here
[1]) that tries to preserve as much of what the user wants as possible

[1]: https://github.com/radian-software/apheleia/pull/102
2023-09-13 20:20:58 +01:00
Ellis Kenyő
3aa9796b84
fix(format): resolve list expansion issues
The argument list was being expanded incorrectly, this should now be resolved.
2023-09-13 20:20:58 +01:00
Ellis Kenyő
115bfc52a2
fix(format): correctly adjust shfmt 2023-09-13 20:20:58 +01:00
Ellis Kenyő
4ecd616cd8
refactor(format): replace with apheleia
Initial refactor of format module to replace format-all with apheleia
2023-09-13 20:19:59 +01:00
Henrik Lissner
7bdf7cf7c0
refactor: doom-guess-mode-h: return non-nil on success 2023-09-12 21:30:56 +02:00
Henrik Lissner
f26b038ec3
fix: prevent quit in the middle of doom/escape 2023-09-12 21:30:56 +02:00
Henrik Lissner
7acb67285c
dev: shell.nix: add emacs 29, 30.0.50, & CI versions
And default to 29.1 (the new stable release of Emacs).
2023-09-12 21:30:56 +02:00
Henrik Lissner
261f94c768
bump: :tools
NicolasPetton/pass@5651da5313 -> NicolasPetton/pass@c721604b3b
Olivia5k/makefile-executor.el@170d14d834 -> Olivia5k/makefile-executor.el@d1d98eaf52
Silex/docker.el@cc0046e6a5 -> Silex/docker.el@6997c86a24
cjohansson/emacs-ssh-deploy@94b56c0428 -> cjohansson/emacs-ssh-deploy@95fb076c9b
editorconfig/editorconfig-emacs@6f6b5c1a95 -> editorconfig/editorconfig-emacs@2fed9599bc
emacs-lsp/dap-mode@de41d62fc4 -> emacs-lsp/dap-mode@096070aacf
emacs-lsp/lsp-mode@0dfe214573 -> emacs-lsp/lsp-mode@266945b3e4
emacs-pe/docker-tramp.el@930d7b46c1 -> emacs-pe/docker-tramp.el@19d0771db4
emacs-straight/eglot@a399fc0d03 -> emacs-straight/eglot@8ccec6532e
emacs-straight/rainbow-mode@8e96388fb4 -> emacs-straight/rainbow-mode@24437ec2c6
emacs-tree-sitter/tree-sitter-langs@944a734b7c -> emacs-tree-sitter/tree-sitter-langs@2f0f97abbd
emacsfodder/kurecolor@ac67ceba85 -> emacsfodder/kurecolor@fbf98e1e38
emacsorphanage/quickrun@7a89313c07 -> emacsorphanage/quickrun@6f96318930
meain/evil-textobj-tree-sitter@e8bb9d63de -> meain/evil-textobj-tree-sitter@19979843f5
millejoh/emacs-ipython-notebook@b2410dc96f -> millejoh/emacs-ipython-notebook@998ba22660
nicolaisingh/saveplace-pdf-view@54ed966b84 -> nicolaisingh/saveplace-pdf-view@abfb5e1f46
purcell/envrc@1954e8c0b5 -> purcell/envrc@33d01388ce
vedang/pdf-tools@bc2ba117e8 -> vedang/pdf-tools@c69e7656a4
xiongtx/eros@dd89102792 -> xiongtx/eros@a9a92bdc6b
zx2c4/password-store@26d2dae04b -> zx2c4/password-store@28cec11f1d

I've intentionally omitted magit from this list while I resolve
incompatibilities between code-review and later versions of
closql (emacsql).

I've also omitted treemacs b/c of #7410.
2023-09-12 21:30:56 +02:00
Henrik Lissner
af8ec870ac
fix(lib): 'back to *' links in doom-docs 2023-09-12 21:30:56 +02:00
Henrik Lissner
8e671f494d
fix(emacs-lisp): failure to look up module docs
Incorrect regex would cause (search-failed "\* ...$") errors, and would
fail to unfold the target entries if it was hidden.
2023-09-12 21:30:56 +02:00
Henrik Lissner
0f0fade3c0
fix(layout): bepo: void-variable org-capture-mode-map error
Caused if org is loaded without/before org-capture.

Ref: #7408
2023-09-12 21:30:56 +02:00
Henrik Lissner
89421f018b
bump: :app rss
remyhonig/elfeed-org@3242ec0519 -> remyhonig/elfeed-org@f1c1fd6b16
skeeto/elfeed@162d7d545e -> skeeto/elfeed@55fb162fa2

Close: #7407
Co-authored-by: fosskers <fosskers@users.noreply.github.com>
2023-09-12 21:30:56 +02:00
Henrik Lissner
69cedebfda
docs: add fish shell check 2023-09-12 21:30:56 +02:00
Henrik Lissner
447b59c9c0
docs: properly indent core doctor checks 2023-09-12 21:30:56 +02:00
Henrik Lissner
95a5a32aac
docs: expand multiple/non-standard config checks
Close: #7391
Close: #7295
2023-09-12 21:30:55 +02:00
Henrik Lissner
dababf9ae9
feat(php): doctor: rudimentary php & composer checks 2023-09-12 21:30:52 +02:00
Emily Bourke
fd98b44e6a tweak(workspaces): prefill current name on rename
This change uses completing-read to get the new name from the user when
renaming workspaces, to allow them to more easily make a small change to
the existing name of a workspace.
2023-09-12 21:23:48 +02:00
Velnbur
2a73bb4e7c bump: :ui treemacs
Alexander-Miller/treemacs@00e96c842f -> Alexander-Miller/treemacs@fe471314f1

Fix: #7409
2023-09-12 21:20:59 +02:00
Colin Woodbury
20cdba39a8 fix(evil): more reliable window detection
At some point `windmove-find-other-window` stopped loading reliably,
such that `SPC w H` would complain of a missing symbol. Indeed
navigating to the implementation of `windmove` within Emacs's Lisp we
find warnings that it has mostly been superceded by newer window APIs
since 2013, and is implemented in terms of `window-in-direction`.

By using `window-in-direction` directly, the loading problem disappears.
2023-09-12 21:20:23 +02:00
Gerry Agbobada
46d7404bef refactor!(ligatures): use ligature.el for Emacs28+
Include ligature.el in a new set-font-ligatures! function, so that
"normal" (read: "font-based") ligatures can
also be controlled on a per-major mode basis from a user function
in configuration.

This commit also drops support for Emacs 27 to reduce the maintenance
burden.

BREAKING CHANGE: font ligatures for Harfbuzz/Coretext composition
table-based ligations are no longer controlled with
`+ligatures-composition-alist`, but is handled with
`+ligatures-prog-mode-list` and `+ligatures-all-modes-list` for most
common cases. See the README for the mode-specific methods

BREAKING CHANGE: the `:ui ligatures` module will not work anymore
with Emacs 27 or older. Also, there is no need to keep patched fonts
(for Fira, Hasklig, Iosevka) if you use the module. Update Emacs if
you want to keep using ligatures, or disable the module (`doom doctor`
will tell you if your current version of Emacs stopped working with
the module)
2023-09-12 21:19:18 +02:00
Henrik Lissner
a44e8d6bfd
nit: general reformatting & minor comment revision 2023-09-11 23:56:21 +02:00
Henrik Lissner
d8372b6e2d
fix(popup): +popup/raise: recursive popup
Without this, raising a popup might result in simply opening a popup
with the same rules.
2023-09-11 23:53:59 +02:00
Henrik Lissner
f427c8a30e
tweak: scroll-conservatively = 10
Forces the window to recenter if the cursor moves >=10 lines off-screen.
This makes some of our manual recentering elsewhere unnecessary.
2023-09-11 23:53:36 +02:00
Henrik Lissner
a7123bf65f
fix: write native-comp cache to $EMACSLOCALDIR
Otherwise, it writes them to /tmp. This way, the CLI can clean them up
along with other package state in the future.
2023-09-11 23:53:35 +02:00
Henrik Lissner
7f3d5d54bd
refactor(lib): hoist new org-id-locations-file value 2023-09-11 23:53:35 +02:00
Henrik Lissner
75d4046820
fix(lib): doom/reload-docs: `org-id-get' warnings
Prevents '`org-id-get' expects a file-visiting buffer' warnings in some
in-repo org files.
2023-09-11 23:53:35 +02:00
Henrik Lissner
deb83dc6a9
fix(lib): doom-docs-mode: hiding property drawers
Includes a minor optimization: reading the current level from an
org-element object, rather than relying on (org-current-level), which
resorts to walking the buffer with regex.
2023-09-11 23:53:35 +02:00