diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-02-04T20·17+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-02-04T20·17+0100 |
commit | 536bdb40f3a7700a4d9774196cad099875adbab3 (patch) | |
tree | f80de542f1a11f8420be00853f3c209fdd98700d /init/lisp-setup.el | |
parent | 11eed83d5762c148b3a22402eb99a3bd800509d1 (diff) |
fix(lisp): Don't set any Sly-mrepl hook settings
For some reason the Sly-mrepl hooks aren't available until a REPL has actually been launched once. There doesn't seem to be a library that I can require to fix it, either, so until I have time to figure it out it stays commented out.
Diffstat (limited to 'init/lisp-setup.el')
-rw-r--r-- | init/lisp-setup.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/init/lisp-setup.el b/init/lisp-setup.el index 62bb1122ad45..7cab95a22083 100644 --- a/init/lisp-setup.el +++ b/init/lisp-setup.el @@ -1,6 +1,8 @@ ;; lisp-settings.el - settings for various Lisp dialects ;; -*- lexical-binding: t; -*- +(require 'sly) + ;; All the lisps: (add-to-list 'lisp-mode-hook #'company-mode) @@ -14,10 +16,5 @@ (setq inferior-lisp-program (concat (nix-store-path "sbcl") "/bin/sbcl")) (add-to-list 'company-backends 'sly-company) -(add-to-list 'sly-mrepl-mode-hook #'paredit-mode) -(add-to-list 'sly-mrepl-mode-hook #'company-mode) - -(define-key sly-mrepl-mode-map (kbd "TAB") - #'company-indent-or-complete-common) (provide 'lisp-setup) |