Commit graph

29 commits

Author SHA1 Message Date
Michael Fiano
261750c158 Fix: Improve common-lisp module bindings 2018-12-02 01:51:48 -05:00
Michael Fiano
89c1180b73 Minor: lexicographically sort bindings
Just so I can see what is bound already more easily.
2018-12-02 00:42:15 -05:00
Michael Fiano
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
Michael Fiano
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
Henrik Lissner
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
Henrik Lissner
3c77b0d260 lang/common-lisp: add settings & minor refactor
Thanks to @mfiano
2018-10-16 02:49:21 -04:00
Henrik Lissner
f2de08d799
lang/common-lisp: move mrepl history file
To doom-cache-dir.

Credit to @mfiano
2018-10-15 16:22:53 -04:00
Michael Fiano
5735a994e0 Do not display debugger or inspector buffers in a popup window. 2018-10-07 21:50:46 -04:00
Henrik Lissner
cdf745e72a
map!: remove buffer-local :desc properties
which-key labels are registered globally, and will not work for
buffer-local keybinds. Until general is brought in, we'll have to suffer
label-less localleader keybinds.
2018-10-07 21:34:24 -04:00
Henrik Lissner
a078e3f4b2
lang/common-lisp: fix sly-mode localleader keys
This fixes a bug that caused evil keybinds on sly-mode-map to be
inaccessible until you switched states.
2018-10-07 00:47:14 -04:00
Henrik Lissner
34d7e327b2
lang/common-lisp: sly-eval-region = eval handler
This allows you to use the `gr` operator to evaluate code on-the-fly.
2018-10-07 00:35:41 -04:00
Henrik Lissner
e70a8d925e
lang/common-lisp: fix consp errors on load 2018-10-07 00:35:25 -04:00
Henrik Lissner
d84b516cf4
lang/common-lisp: don't start sly in temp buffers
Org source blocks use a temp buffer in lisp-mode to natively fontify CL
blocks, which can trigger sly. This prevents that.
2018-10-07 00:33:58 -04:00
Henrik Lissner
d21887149f
Minor refactor/reformatting 2018-10-06 20:44:25 -04:00
Henrik Lissner
b4b19c40bf
company-capf = universal default company-backend
Also removes company-files from sly-mrepl-mode, because sly's capf
completion includes file completion.
2018-10-03 11:18:58 -04:00
Henrik Lissner
46c3ff782a
lang/common-lisp: fix rainbow-delimiters-mode hook 2018-10-03 01:41:33 -04:00
Henrik Lissner
7a2bad551c
lang/common-lisp: fix comapny in sly repl 2018-10-03 01:34:26 -04:00
Henrik Lissner
ce1198f23d lang/common-lisp: don't autopair '/` in sly-mrepl
Credit goes to @mfiano for this
2018-10-03 01:27:05 -04:00
Henrik Lissner
a251c81aa3 lang/common-lisp: add localleader keys & hydras
Credit goes to @mfiano for these keybinds.
2018-10-03 01:27:05 -04:00
Henrik Lissner
fc0d074f15 lang/common-lisp: S-RET => newline-and-indent (REPL)
Suggested by @mfiano
2018-10-03 01:27:05 -04:00
Henrik Lissner
f54c36e721
lang/common-lisp: revise sly popup rules
Fixes issues with the compilation, inspector, debug or trace buffers
replacing the repl popup.
2018-09-10 12:50:45 -04:00
Henrik Lissner
a0250e60e3
Add rainbow-delimiters in lang/common-lisp instead
Gives users one place to look to determine what cosmetic hooks are
applied in lisp-mode.
2018-09-09 09:58:19 -04:00
Henrik Lissner
a820bbd468
lang/common-lisp: fix sly version mismatch prompts
Caused by the perfect storm of Emacs, Doom and Sly decision choices,
this prevents the mismatched sly version prompts each time you start up
sly/lisp-mode.
2018-07-30 23:02:06 +02:00
Henrik Lissner
d6461d495b
General & minor reformatting+refactor 2018-07-19 03:40:31 +02:00
Alex Reinisch
ff6e4437a2 Fix handler calls to reference lisp-mode.
`set-repl-handler!` helps with opening a repl when a particular mode is
active in a buffer. We want to be able to open a `sly-mrepl` whenever we
are in a lisp buffer, so we should have the repl handler look for
`'lisp-mode` to define opening a sly repl.

I assume the lookup handlers should be making sure we are in a lisp
buffer (similar reasoning to the repl-handler).
2018-06-25 15:56:50 -05:00
Henrik Lissner
fe44d71965
Add repl+lookup handlers and popup rule for sly 2018-06-22 01:49:21 +02:00
Henrik Lissner
13cb219e49
lang/common-lisp: improve evil+sly integration 2018-06-22 01:49:21 +02:00
Henrik Lissner
6a6652d394 lang/common-lisp: replace slime with sly
Also add sly server auto-start and cleanup hooks.
2018-06-13 22:14:22 +02:00
Henrik Lissner
8889d5cc2b
Add :lang common-lisp 2018-06-13 20:10:37 +02:00