Commit Graph

71 Commits

Author SHA1 Message Date
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
4c3ea13818 fix(common-lisp): recognize multi-argument inferior-lisp-program (#5515)
For example: 'ros -Q run'

Co-authored-by: liyang <7325560@qq.com>
2021-09-24 12:42:45 +02:00
ff2d56794e Don't activate sly-mode in lisp-mode derived modes
Fixes some issues (like indentation or unrelated sly-mode warnings) in
lisp-like major modes (like fennel-mode).
2021-07-06 02:31:22 -04:00
f3496e7bc6 Fix sly-mode not activating on lisp-mode
Due to changes upstream (joaotavora/sly@becf7b7)
2020-07-22 18:49:05 -04:00
9073a5d402 Fix #3610: revert changes to cmd!! macro
Half-reverts e6c88e4384
2020-07-22 17:09:38 -04:00
2eb8f7f7b8 lang/common-lisp: fix typo 2020-05-23 15:38:22 -04:00
1413c02b25 sly-pop-find-definition -> sly-pop-find-definition-stack 2020-05-09 00:30:21 -04:00
ab0d37776b Bind gb to sly pop commands 2020-05-08 06:23:28 -04:00
9deb470f16 Fix gr/gR/K keybinds in sly-mode
And reindent map!
2020-04-30 20:37:19 -04:00
69f14bc3da Apply smartparens lisp rules to sly-mrepl-mode 2020-03-06 15:26:36 -05:00
88dd15e204 Revise comments 2020-02-28 22:26:19 -05:00
ca97300f84 Load sly-contribs immediately, after sly loads
To fix a load order issue with some sly plugins (like sly-macrostep) not
loading early enough, thus requiring the buffer be reloaded or reverted
to activate them.
2020-02-24 20:37:46 -05:00
b30f38ac06 Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
a7b945be0e Revert cb86fd046c (restore macrostep-expand)
sly-macroexpand changes macrostep-expand to behavior correctly in CL
buffers.
2020-02-22 18:43:25 -05:00
7224f0870a lang/common-lisp: add *sly-description* popup rule 2020-02-02 02:02:50 -05:00
cb86fd046c lang/common-lisp: SPC m {m,M} -> sly macroexpand
macrostep-expand was the wrong command (and plugin).
2020-02-02 02:01:40 -05:00
b45cc335db lang/common-lisp: offload to evil-collection-sly 2019-10-12 00:48:48 -04:00
051bceb0a8 Refactor localleader keybinds #1270
Introduces a select few of the localleader keybind standards proposed in
issue #1270, corrects a few typos and introduces more localleader
keybinds in general.

Co-authored-by: yuhan0 <>
2019-10-04 22:04:47 -04:00
d297dc6934 Minor refactor & comment revision across the board 2019-10-03 23:33:59 -04:00
66abe99dec Increase sly REPL popup's size #1296 2019-10-03 20:49:04 -04:00
464e7f8bbd lang/common-lisp: remove obsolete advice 2019-08-21 15:02:53 -04:00
19ecf8e46a Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
02f2ad1e8d lang/common-lisp: conform to new conventions 2019-07-26 03:12:07 +02:00
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
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
7885cbb4f7 Merge sly db/inspector popup rule into others 2019-04-14 13:39:57 -04:00
5e7638d061 Merge pull request #1287 from mfiano/common-lisp-bindings-fix-1
Changed some wrong common-lisp bindings
2019-04-02 15:35:59 -04:00
0b2f18542c Fixed bug where sly-db-quit was not being called 2019-03-28 22:31:06 -04:00
275bea568e Added more bindings 2019-03-28 21:40:06 -04:00
d77e1fa15f Removed common-lisp macrostep hydra
This can cause a variety of problems, and the actual macrostep mode
toggle has the same keybindings, so no loss of functionality.
2019-03-28 20:00:50 -04:00
2f35680845 Added labels for Sly bindings 2019-03-28 19:56:00 -04:00
a4364b3fea Added a label for starting Sly.
Also added a command for starting Sly with a choice for the
implementation to use.
2019-03-28 19:17:32 -04:00
9519003bcd Fix common-lisp local leader prefix labels 2019-03-28 19:05:52 -04:00
80ea315cca Changed some wrong common-lisp bindings
The Sly documentation which these were originally based off of is out of
date, causing some of the bindings to have no longer defined functions.
2019-03-28 18:28:10 -04:00
9a8f3070a6 Merge pull request #1119 from mfiano/patch-3
common-lisp module: Added keybind to quit sly-xref-mode windows
2019-01-20 14:10:51 -05:00
195212f71c Merge pull request #1118 from mfiano/patch-2
common-lisp module: Fix sly-db button binding
2019-01-20 14:10:16 -05:00
a183fcddf5 common-lisp module: Added keybind to quit sly-xref-mode windows 2019-01-14 20:48:03 -05:00
ddc0c1fc21 common-lisp module: Fix sly-db button binding 2019-01-14 20:07:41 -05:00
b7de17aecd common-lisp module sly-db-quit fix
The `q` binding for `sly-popup-buffer-mode-map` was overriding `sly-db-mode`'s binding, causing lots of issues.
2019-01-14 19:54:17 -05:00
3f195614d9 Normalize :leader/:localleader keybinds
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
38d0d88018 lang/common-lisp: lazyload sly-repl-ansi-color #1032 2018-12-05 22:11:54 -05:00
7b761a9b42 Refactor feature deferral for (common|emacs)-lisp
'lisp-mode is now deferred, to make it easier to lazy-configure it
2018-12-05 22:11:54 -05:00
261750c158 Fix: Improve common-lisp module bindings 2018-12-02 01:51:48 -05:00
89c1180b73 Minor: lexicographically sort bindings
Just so I can see what is bound already more easily.
2018-12-02 00:42:15 -05:00
3635e23be7 Minor: common-lisp macro expander hydra as default
It is usually the case that we want to easily step through the expansion
of a macro inline, so prevent a modifier key press.
2018-12-01 15:26:44 -05:00
fead537328 Fix: common-lisp module jump hydra conflict
This hydra conflicts with Doom's popup windows in the case a jump
creates a sly-xref-mode buffer. Use direct local leader bindings instead.
2018-12-01 15:25:12 -05:00
fda4734164 lang/common-lisp: disable fuzzy/flex completions
Fuzzy search is slower and less predictable, and is generally disabled
by default across Doom (or gated behind variables/flags).
2018-10-17 15:01:03 -04:00
3c77b0d260 lang/common-lisp: add settings & minor refactor
Thanks to @mfiano
2018-10-16 02:49:21 -04:00
f2de08d799 lang/common-lisp: move mrepl history file
To doom-cache-dir.

Credit to @mfiano
2018-10-15 16:22:53 -04:00
5735a994e0 Do not display debugger or inspector buffers in a popup window. 2018-10-07 21:50:46 -04:00