Commit graph

11902 commits

Author SHA1 Message Date
Henrik Lissner
fba8dda5c8
bump: :term
akermu/emacs-libvterm@3e5a9b754b -> akermu/emacs-libvterm@94e2b0b2b4
akreisher/eshell-syntax-highlighting@1ba39a9ffb -> akreisher/eshell-syntax-highlighting@8bf0494ca7
szermatt/emacs-bash-completion@25611eed1e -> szermatt/emacs-bash-completion@f1daac0386
2023-09-20 20:23:59 +02:00
Henrik Lissner
cdbf58a871
refactor(format): swap to string-blank-p & memq 2023-09-20 20:23:59 +02:00
Henrik Lissner
7266c11366
fix(swift): activate lsp! on +lsp
Close: #7441
Co-authored-by: itome <itome@users.noreply.github.com>
2023-09-20 20:23:59 +02:00
Henrik Lissner
fed0f49ca7
fix(dart,scala,swift,treemacs): ignore lsp-* packages for eglot
Close: #7441
Co-authored-by: itome <itome@users.noreply.github.com>
2023-09-20 20:23:59 +02:00
StrawberryTea
531a8bdfeb fix(mu4e): remove broken pretty bullets advice 2023-09-20 20:23:44 +02:00
StrawberryTea
a02b4ddfe3 fix(mu4e): replace obsolete/removed functions
This commit fixes several Doom mu4e functions which are broken on later
versions of mu4e due to the variable prefix change from mu4e~ to mu4e--.
I also added them to the forwards-compatibility aliases.
2023-09-20 20:23:44 +02:00
Liam Hupfer
2279a42c50 fix(org): address fancy links regressions
- several all-the-icons references were missed, and some code points are
  different in nerd-fonts. the variable icon became a folder, the
  package icon became a scissors, and the file-icons font icon is not
  available
- make face link type face passthrough work
- remove extraneous rear-nonsticky and height properties that nerd-icons
  already sets
- generally improve consistency across link types
  - material design icons, underlines, and font lock faces for symbols,
    shadow if unbound
  - octicons for packages, modules, and executables, blue links if
    installed, shadow if not. color coded icon based on status
  - refactor and remove extraneous code
2023-09-20 20:23:26 +02:00
Liam Hupfer
c3342a8011 nit(org): make activate function suffixes consistent 2023-09-20 20:23:26 +02:00
Liam Hupfer
54c67acf2a nit(org): use consistent link follow function names
Looks like the doom-module one was partially renamed to follow naming
conventions, and that didn’t propagate to the corresponding doom-package
function.
2023-09-20 20:23:26 +02:00
Liam Hupfer
f369b48b2a fix(org): use correct doom-module link follow function 2023-09-20 20:23:26 +02:00
Gerry Agbobada
a60d8b3da4 fix(ligatures): proper resetting of font-ligatures
resetting font-ligatures means passing `nil` as the second argument
of `(set-font-ligatures!)`

Using `ligatures-ignored-major-modes` to cancel ligatures is too
brittle, because "resetting ligatures for `prog-mode`" would have bad
semantics with all its derived modes. The user probably just wants to
remove the default ligatures and then configure `foo-mode`, but pushing
`prog-mode` to `ignored-major-modes` might just disable ligatures across
all modes _derived from_ `prog-mode`.

This commit changes things in 2 ways:
- resetting ligatures now directly manipulates ligature.el internal
  state (the `ligature-composition-table` alist)
- in order to work, Doom must maintain an extra invariant on that alist,
  multi-modes keys (`'(foo-mode bar-mode)`), cannot be used, only single
  modes.

That mostly means that users should _not_ use
`ligature-set-ligatures` themselves in private config, but instead
always rely on `set-font-ligatures!` which does splicing behind
curtains. Failing to do so would be mostly harmless though (it would
just make "resetting ligatures" only partially remove set ligatures).

Fix: #7433
2023-09-19 23:32:07 +02:00
Noisy Computation
2b08b2da33 bump: :emacs vc
magit/magit@97a95f7007 -> magit/magit@4881835572

The pinned version of `magit` in `:tools magit` needs be the same
as that of `git-commit` in `:emacs vc`.

`straight.el` prepares the repo only once, and if `git-commit` is
processed first, its pinned version wins out and the more recent
pinning of `magit` is ignored.

As noted in #7363, processing order may be non-deterministic, so the
inconsistent pinning may not be apparent on every system.

Fix: #7363
Amend: #7277
Amend: 7c63b353d2
2023-09-19 23:31:32 +02:00
Jdogzz
2be3cf4b38
bump: nerd-icons-dired
rainstormstudio/nerd-icons-dired@b760520821 -> rainstormstudio/nerd-icons-dired@4a068884bf

Fix: #5579
Ref: rainstormstudio/nerd-icons-dired@4a068884bf
Ref: rainstormstudio/nerd-icons-dired#14
2023-09-17 05:07:52 +02:00
Henrik Lissner
0f663d007b
docs(evil,latex,vterm,treemacs): correct notices
Use the correct symbol for warnings.

Amend: 88bb045388
2023-09-17 03:27:49 +02:00
Henrik Lissner
8230b78ad5
fix(ligatures): set-font-ligatures!
Old lexical variable reference caused an error.

Ref: #7433
Amend: #5082
Amend: 46d7404bef
2023-09-17 03:24:09 +02:00
Henrik Lissner
5f3a667400
bump: :lang cc
Andersbakken/rtags@9e442e5b30 -> Andersbakken/rtags@ee1ab7b9a6
emacs-lsp/emacs-ccls@29d231590f -> emacs-lsp/emacs-ccls@dd33da8ed7
emacsmirror/cmake-mode@6ce5633144 -> emacsmirror/cmake-mode@f9c7a21254
jart/disaster@0c13bd244c -> jart/disaster@16bba9afb9

- emacsmirror/cmake-mode@6ce5633144 was an orphaned commit.

Fix: #7434
2023-09-17 03:17:12 +02:00
Henrik Lissner
41de7d9d01
bump: :lang org
TobiasZawada/org-yt@158e20204c -> TobiasZawada/org-yt@56166f48e0
emacs-straight/org-mode@d6f3aed7b1 -> emacs-straight/org-mode@e90a8a69a7
emacsmirror/org-contrib@4ac1a280c7 -> emacsmirror/org-contrib@dc59cdd46b
fuxialexander/org-pdftools@967f48fb50 -> fuxialexander/org-pdftools@4e420233a1
hakimel/reveal.js@12f5ba4c9d -> hakimel/reveal.js@07a6cf1249
oer/org-re-reveal@5929850199 -> oer/org-re-reveal@93396b531b
org-noter/org-noter@f9710c9768 -> org-noter/org-noter@ab838691f0
snosov1/toc-org@bf2e4b358e -> snosov1/toc-org@6d3ae0fc47
takaxp/org-tree-slide@97273dbb17 -> takaxp/org-tree-slide@e2599a106a

- Fixes package download errors while installing
  emacsmirror/org-contrib@4ac1a280c7, which is an orphaned commit.
2023-09-16 20:35:31 +02:00
Henrik Lissner
88bb045388
docs(*): replace all-the-icons with nerd-icons
Also colorizes the leading icon in notices.
2023-09-16 20:19:11 +02:00
Henrik Lissner
ae8c5cfdde
fix(org): org-roam-node-display-template: strip :box from org-tag
The :box causes tremendous slowdown when displayed in the minibuffer.

Fix: #7432
2023-09-16 17:02:16 +02:00
Henrik Lissner
8340141e69
fix(eshell): pcomplete after quotes in emacs <=28
Fixes an upstream issue in pcomplete where completion after quotes fails
with the following message:

  Completion function pcomplete-completions-at-point uses a deprecated
  calling convention

This issue is fixed in 29+, but I backport this fix for 27-28
users (credit for the fix goes minad/cape, which is where I adapted this
fix from).

Fix: #3817
Co-authored-by: minad <minad@users.noreply.github.com>
2023-09-16 16:17:02 +02:00
Henrik Lissner
8e1f5509ea
fix(undo): add emacs version check for vundo 2023-09-16 05:30:06 +02:00
Patrick Norton
34f583d396 fix(ocaml): Prevent clobbering +format-with globally
Previously, loading the `ocaml` module and opening a file in Tuareg mode
would result in every buffer having its formatter set to `ocp-indent`.
This now restricts the formatter override to the current buffer.
2023-09-16 05:29:06 +02:00
LemonBreezes
aab5215951 fix(format): use +vc-gutter-update-h instead
+vc-gutter-init-maybe-h is not defined when using +diff-hl so instead
let's use +vc-gutter-update-h to refresh the VC gutter.
2023-09-16 05:00:25 +02:00
Henrik Lissner
57965f18a5
fix(treemacs): replace all-the-icons with nerd-icons
Ref: #7411
Close: #7428
Ref: https://discourse.doomemacs.org/t/4147
2023-09-15 21:24:45 +02:00
Ellis Kenyo
e44508f67c docs(format): improve note about regional formatting 2023-09-15 20:38:29 +02:00
Ellis Kenyo
7920b0d46c fix(format): update missing values & set buffer modification
This prevents apheleia complaining about the editing buffer being
killed.

Co-authored-by: Wang Liao <lwlw1988@gmail.com>
2023-09-15 20:38:29 +02:00
Ellis Kenyo
e47accb773 fix(modeline): update icons for +light 2023-09-15 01:51:09 +02:00
Henrik Lissner
3191349182
docs(format): set-formatter!: escape quotes in docstring 2023-09-14 20:17:24 +02:00
Ellis Kenyo
0b2e6d7070 docs(format): clarify how to update macro in private config 2023-09-14 20:06:51 +02:00
Henrik Lissner
eec8808f45
bump: :app rss
remyhonig/elfeed-org@3242ec0519 -> remyhonig/elfeed-org@7f3ad868f2

Ref: remyhonig/elfeed-org#87
2023-09-14 19:01:36 +02:00
Zero King
928e5640c5 feat(lua): enable rainbow-delimiters in fennel-mode
Fennel's syntax is based on Lisp. It's easier to see matching
parentheses with rainbow delimiters.
2023-09-14 14:58:55 +02:00
Ellis Kenyő
e97b05c07c
fix: nerd-icons-material => nerd-icons-mdicon
Fix: #7422
Amend: #7411
2023-09-14 14:58:01 +02:00
Henrik Lissner
cd2477e79c
refactor(collab): s/featurep!/modulep!
featurep! was renamed modulep! in ad6a3d0.

Close: #7420
Ref: ad6a3d0f33
Co-authored-by: lagman <lagman@users.noreply.github.com>
2023-09-14 03:42:23 +02:00
Henrik Lissner
3b692e92f5
refactor(modeline): remove doom-modeline-buffer-modified shim
No longer needed.

Ref: seagle0128/doom-modeline@5c98267310
2023-09-14 03:42:14 +02:00
SunskyXH
0c79390623
fix(tabs): replace all-the-icons with nerd-icons
Ref: #7411
2023-09-14 03:37:46 +02:00
Ian Kerins
5efec260ef fix(format): use correct lisp format function
`apheleia--indent-lisp-buffer` does not exist.

Ref: #6369
2023-09-14 03:31:56 +02:00
Henrik Lissner
a234d8e9c0
merge: pull request #6369 from elken/feature/editor-format-refactor 2023-09-14 01:19:01 +02:00
Henrik Lissner
c5d4f818d1
fix(ivy): void-function nerd-icons-ivy-rich-mode error
Amend: 9787022b83
2023-09-14 01:11:05 +02:00
Henrik Lissner
420474222e
bump: :editor lispy parinfer snippets word-wrap
abo-abo/lispy@097dd66e66 -> abo-abo/lispy@fe44efd215
doomemacs/snippets@fe4003014a -> doomemacs/snippets@d490cba6d7
emacs-straight/adaptive-wrap@0d5b4a07de -> emacs-straight/adaptive-wrap@fc9f0306f1
joaotavora/yasnippet@5cbdbf0d20 -> joaotavora/yasnippet@76e1eee654
justinbarclay/parinfer-rust-mode@332c7f4742 -> justinbarclay/parinfer-rust-mode@6e6bdeeba3
2023-09-14 01:04:09 +02:00
Henrik Lissner
1fce8522f8
bump: :editor multiple-cursors
gabesoft/evil-mc@63fd2fe0c2 -> gabesoft/evil-mc@bdf893ea6f
magnars/multiple-cursors.el@16223efc2d -> magnars/multiple-cursors.el@234806c832

- Fixes evil-mc for recent versions of evil (#7415).

Close: #7415
Co-authored-by: Mo0dy <Mo0dy@users.noreply.github.com>
2023-09-14 01:04:09 +02:00
Henrik Lissner
aa49edc216
docs(helm,ivy,vertico,ido): add incompatibility checks
These modules tend to conflict if more than one of them are enabled at
once. More systematic compatibility tests are in the works, but for now
this will do.
2023-09-14 01:04:08 +02:00
Ellis Kenyő
9787022b83
refactor!: replace all-the-icons with nerd-icons
BREAKING CHANGE: This commit replaces all-the-icons with nerd-fonts. Any
all-the-icons-* function calls or variable references in your private
config will break and should be replaced with their nerd-icons-*
equivalent. That said, Doom will continue to install all-the-icons for
a while, so feel free to load it if you don't want to fully commit to
the change yet.

This change is happening because nerd-icon has wider support for GUI and
TUI Emacs; has a larger, more consistent selection of symbols; plus unicode
coverage.

Fix: #7368
Close: #6675
Close: #7364
2023-09-14 01:03:55 +02:00
Ellis Kenyo
dd68bbb7da
fix(format): removed unused argument 2023-09-13 20:21:08 +01:00
Ellis Kenyo
ce93f899fd
fix(format): improve function/module loading safety 2023-09-13 20:21:08 +01:00
Ellis Kenyo
23a39b0a14
fix(clojure): remove executable-find formatter check 2023-09-13 20:21:08 +01:00
Ellis Kenyo
f67f391443
fix(common-lisp): amend sly-compat hook 2023-09-13 20:21:08 +01:00
Ellis Kenyo
bc58da7c78
fix(zig): correct doctor check 2023-09-13 20:21:08 +01:00
Ellis Kenyo
79172239a7
fix(clojure): prefer cljfmt now it supports STDIN 2023-09-13 20:21:08 +01:00
Ellis Kenyo
249a39acb4
fix(format): pin apheleia 2023-09-13 20:21:07 +01:00
Ellis Kenyo
12d520a377
fix(format): remove merged formatter 2023-09-13 20:21:07 +01:00