Lisp: Load some contribs, including slime-company

master
Pierre Neidhardt 2018-10-16 20:09:40 +02:00
parent 9b27a8796f
commit 22f6b3655a
2 changed files with 4 additions and 5 deletions

View File

@ -105,7 +105,7 @@
(add-hook 'change-log-mode-hook 'ambrevar/change-log-set-indent-rules)
;;; Completion
(nconc package-selected-packages '(company helm-company))
(nconc package-selected-packages '(company helm-company slime-company))
(when (require 'company nil t)
(setq company-idle-delay nil))

View File

@ -101,10 +101,9 @@
;;; Common LISP.
(setq inferior-lisp-program "sbcl --noinform")
;; (add-hook 'slime-mode-hook
;; (lambda ()
;; (unless (slime-connected-p)
;; (save-excursion (slime)))))
(slime-setup '(slime-fancy slime-asdf slime-indentation))
(when (require 'slime-company nil t)
(add-to-list 'slime-contribs 'slime-company))
;; Save SLIME history (only for inferior-lisp).
(defvar ambrevar/slime-comint-input-ring nil)