doomemacs/lisp
Henrik Lissner 6acf163cf7
refactor!: replace smartparens with electric
BREAKING CHANGE: This moves smartparens out of core and formally
deprecates it. The package has been a performance liability and is only
being used for pair management, so the rest of its functionality was
overkill for what we needed it for.

Instead, I'm waiting for electric.el's support for N-character pairs in
Emacs 31. In the meantime, I delegate to yasnippet (later, tempel)
snippets to handle more complex pairs like /* ... */ or <?php ... ?>.

- To restore auto-pairing functionality (which is all Doom was using
  smartparens for, really), enable :emacs (electric +pair). This is not
  a perfect replacement for all of smartparens' capabilities. More
  complex pairing is being relegated to snippets (for example, /* ... */
  and <?php ... ?> comment blocks will soon have snippets for them).

- To restore the old smartparens functionality, enable :config (default
  +smartparens). Keep in mind that this is temporary! In v3, smartparens
  will be removed entirely OR moved to its own module; this hasn't been
  decided yet.

Fix: #5759
Fix: #5894
Fix: #6223
Fix: #8093
Fix: #8620
2026-02-21 17:00:48 -05:00
..
cli refactor(cli): doom gc: remove redundant logic 2026-02-15 21:58:25 -05:00
lib feat(lib): add doom-real-buffer-modes 2026-02-20 20:37:31 -05:00
modules module: move :core to :doom 2025-09-18 22:48:07 -04:00
.doommodule
demos.org docs: fix package! examples 2026-02-11 17:47:37 -05:00
doom-cli.el fix(cli): show all commands in doom --help output 2026-02-14 00:29:02 -05:00
doom-compat.el refactor(lib): move fringe/fontset autodefs to doom-compat 2025-09-17 01:23:45 -04:00
doom-editor.el refactor!: replace smartparens with electric 2026-02-21 17:00:48 -05:00
doom-elpaca.el
doom-keybinds.el
doom-lib.el fix(lib): package!: add :env property 2025-09-22 23:30:03 -04:00
doom-projects.el fix: file-name-concat paths instead of concat 2025-12-30 22:59:10 -05:00
doom-start.el feat: show docstring for *-local-var-hooks 2025-12-30 22:50:32 -05:00
doom-straight.el fix: silence straight package.el warning (part 2) 2026-02-18 00:33:01 -05:00
doom-ui.el fix: hl-line hacks on 31.1+ 2026-01-21 03:32:27 -05:00
doom.el fix: silence straight package.el warning (part 2) 2026-02-18 00:33:01 -05:00
init.el dev: replace .doomrc w/ .doom.el 2025-06-30 15:23:27 +02:00
packages.el refactor(lib): remove doom/restart-and-restore 2026-02-20 20:18:50 -05:00