Files
doomemacs/modules/lang
Henrik Lissner c07f359d64 fix(ligatures): activate prettify-symbols-mode conditionally
With +extra enabled, this module would activate `prettify-symbols-mode`
in any buffer where `prettify-symbols-alist` is non-nil, whether or not
`+ligatures-extra-alist` has an entry for the current major mode (or a
parent thereof). This behavior is poor UX, since the user may be
expecting that a empty entry for some `X-mode` in
`+ligatures-extra-alist` should mean *no` prettify-symbols-mode` at all
in `X-mode`.

With this, `+ligatures-extra-alist` is now the authority. An empty entry
for `X-mode` will result in `prettify-symbols-mode` *not* being
activated there. If that entry *isn't* empty, it will be combined only
with the global default value of `prettify-symbols-alist`, not any
pre-existing buffer-local value, to make the end result deterministic,
because some modes have their own defaults for it (like
`lisp-prettify-symbols-alist`, `js--prettify-symbols-alist`, and
`rust-prettify-symbols-alist`).

Fix: #7440
2024-09-13 23:07:14 -04:00
..
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-02-05 17:21:20 -05:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-02-05 17:21:20 -05:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-06-26 22:58:01 -04:00
2024-06-26 22:58:01 -04:00
2024-08-09 20:50:51 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-06-20 18:28:12 -04:00
2024-06-26 22:58:01 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-03-11 00:53:43 -04:00
2024-09-07 19:04:37 -04:00
2024-09-09 20:15:43 -04:00
2024-09-07 19:04:37 -04:00
2024-02-05 17:21:20 -05:00
2024-09-11 19:46:14 -04:00
2024-06-26 22:58:01 -04:00
2024-06-26 22:58:01 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-09-07 19:04:37 -04:00
2024-06-26 22:58:01 -04:00
2024-08-09 21:21:26 -04:00

:lang

Description

These modules specialize in the integration of particular languages and their ecosystems into (Doom) Emacs.

Frequently asked questions

This category has no FAQs yet. Ask one?