Try to fix slime-capf
This commit is contained in:
parent
96f9da374d
commit
729629fd8b
@ -36,17 +36,6 @@
|
|||||||
(require 'thingatpt)
|
(require 'thingatpt)
|
||||||
(require 'cape)
|
(require 'cape)
|
||||||
|
|
||||||
(define-slime-contrib slime-capf
|
|
||||||
"Interaction between slime and Emacs capfs."
|
|
||||||
(:license "GPL")
|
|
||||||
(:authors "Ole Arndt <anwyn@sugarshark.com>" "Alexander Rosenberg <zanderpkg@pm.me>")
|
|
||||||
(:swank-dependencies swank-arglists)
|
|
||||||
(:on-load
|
|
||||||
(advice-add 'slime--completion-at-point :override
|
|
||||||
'slime-capf-complete-at-point))
|
|
||||||
(:on-unload
|
|
||||||
(advice-remove 'slime--completion-at-point 'slime-capf-complete-at-point)))
|
|
||||||
|
|
||||||
;;; ----------------------------------------------------------------------------
|
;;; ----------------------------------------------------------------------------
|
||||||
;;; * Customization
|
;;; * Customization
|
||||||
|
|
||||||
|
9
init.el
9
init.el
@ -903,17 +903,18 @@ COMMAND and COMINT are like `compile'."
|
|||||||
|
|
||||||
;; slime
|
;; slime
|
||||||
(use-package slime
|
(use-package slime
|
||||||
|
:defer nil
|
||||||
:init
|
:init
|
||||||
(setq inferior-lisp-program "sbcl")
|
(setq inferior-lisp-program "sbcl")
|
||||||
:config
|
:config
|
||||||
(slime-setup '(slime-fancy-inspector inferior-slime
|
(slime-setup '(slime-fancy-inspector inferior-slime slime-references
|
||||||
slime-references slime-xref-browser
|
slime-xref-browser slime-mdot-fu slime-sprof slime-fancy)))
|
||||||
slime-mdot-fu slime-sprof slime-fancy)))
|
|
||||||
(use-package slime-capf
|
(use-package slime-capf
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:after slime
|
:after slime
|
||||||
:config
|
:config
|
||||||
(add-to-list 'slime-contribs 'slime-capf))
|
(advice-add 'slime--completion-at-point :override
|
||||||
|
'slime-capf-complete-at-point))
|
||||||
|
|
||||||
;; pdf-tools
|
;; pdf-tools
|
||||||
(use-package pdf-tools
|
(use-package pdf-tools
|
||||||
|
Loading…
Reference in New Issue
Block a user