Commit graph

17 commits

Author SHA1 Message Date
Henrik Lissner
a0ccb6b95b
feat(emacs-lisp,lispy): recognize ;;* outline headings
Permit `;;* ...` be recognized by imenu and outline-minor-mode (and
outline's commands). This also patches Lispy to reflect this new
configuration (if :lang emacs-lisp is active).

Close: #6732
Co-authored-by: LemonBreezes <LemonBreezes@users.noreply.github.com>
2022-10-29 01:57:43 +02:00
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Emin Umut Gerçek
ccd20847c7
fix(lispy): evil-escape keybind collision on j
* Remove evil-escape from lisp modes
* Use evil-escape-inhibit-functions hook

Close #5328
2021-08-01 18:15:19 -04:00
Leo Okawa Ericson
7b3b74c2ad Remove workaround for upstream lispyville PR
https://github.com/noctuid/lispyville/pull/297 was merged which makes
the changes from https://github.com/hlissner/doom-emacs/pull/5101 obsolete.
2021-07-03 18:47:52 +02:00
Leo Okawa Ericson
3b18153ea7 Advice lispyville-end-of-defun to go past defuns
`lispyville-end-of-defun' doesn't go to the next defun when point is
already at the end of a defun, whereas `lispyville-beginning-of-defun'
does. This commit fixes this inconsistency by matching
`lispyville-end-of-defun''s behaviour with `lispyville-beginning-of-defun'.

`line-end-position' isn't enough because it never returns `t' in normal
mode (in normal mode the point can't reach the true end of a line).
2021-05-26 18:51:55 +02:00
Grazfather
f8d362638e
Add lispy-mode hook to fennel-mode 2021-05-04 16:22:55 -04:00
daanturo
5c7b553e08 Enable lispy-mode during eval-expression. 2021-02-27 14:24:59 +07:00
Kevin Curtet
9c7508c181
Add ielm-mode to lipsy module hooks 2021-02-06 23:31:32 +01:00
Henrik Lissner
3580a3f0d8
Fix #3625: enable atom-movement key theme correctly 2020-08-20 02:30:06 -04:00
Troy Hinckley
993a0770e5 Allow the user to override lispyville themes 2020-05-17 10:29:25 -06:00
Sebastian Kapust
cad281b107 editor/lispy: fix hook for lisp-mode 2020-04-11 01:07:20 +02:00
Henrik Lissner
84a525a099
Remove wrap, additional-wrap, & escape key themes
+ Escape was redundant with Doom's own escape handler
+ Disabled wrap/addition-wrap, as it isn't enabled by default, is
  potentially redundant with evil-{surround,embrace}, and prone to issues
  in tty emacs (see #2573).

Fixes #2573
2020-02-20 21:42:53 -05:00
Rudi Grinberg
712ac3349a Add dune-mode to lispy modes
Dune uses an sexpression based syntax as well

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-12-25 15:22:16 +07:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
Niklas Carlsson
6b2b5c225f Close the ending quote in lispy-mode
With this setting lispy closes the ending quote which is in alignment
with how Doom treats quotes in other modes.
2018-11-03 10:29:20 +01:00
Quentin Le Guennec
faf5eea115 editor/lispyville: Add lispy
smartparens being disabled in lispyville-mode, typing ( in
insert state would not pair the paren
2018-11-01 12:03:36 +01:00