diff options
-rw-r--r-- | init.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el index 934f3db..5452a0d 100644 --- a/init.el +++ b/init.el | |||
@@ -770,6 +770,17 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
770 | "~/var/quicklisp/slime-helper.el")))) | 770 | "~/var/quicklisp/slime-helper.el")))) |
771 | (load slime-helper)) | 771 | (load slime-helper)) |
772 | 772 | ||
773 | (define-key slime-repl-mode-map (kbd "RET") #'slime-repl-return-at-end) | ||
774 | (define-key slime-repl-mode-map (kbd "<return>") | ||
775 | #'slime-repl-return-at-end) | ||
776 | |||
777 | (defun slime-repl-return-at-end () | ||
778 | (interactive) | ||
779 | (if (<= (point-max) (point)) | ||
780 | (slime-repl-return) | ||
781 | (slime-repl-newline-and-indent))) | ||
782 | |||
783 | |||
773 | (with-eval-after-load 'company | 784 | (with-eval-after-load 'company |
774 | (setup (:straight slime-company) | 785 | (setup (:straight slime-company) |
775 | (:option slime-company-completion 'fuzzy | 786 | (:option slime-company-completion 'fuzzy |