Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common Lisp: enable fuzzy matching with comapny #7018

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions layers/+lang/common-lisp/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
ggtags
helm
helm-gtags
slime))
slime
slime-company))

(defun common-lisp/post-init-auto-highlight-symbol ()
(with-eval-after-load 'auto-highlight-symbol
Expand All @@ -33,6 +34,9 @@
(defun common-lisp/post-init-helm-gtags ()
(spacemacs/helm-gtags-define-keys-for-mode 'common-lisp-mode))

(defun common-lisp/init-slime-company ()
(setq slime-company-completion 'fuzzy))

(defun common-lisp/init-slime ()
(use-package slime
:commands slime-mode
Expand All @@ -43,7 +47,8 @@
(setq slime-contribs '(slime-fancy
slime-indentation
slime-sbcl-exts
slime-scratch)
slime-scratch
slime-company)
inferior-lisp-program "sbcl")
;; enable fuzzy matching in code buffer and SLIME REPL
(setq slime-complete-symbol*-fancy t)
Expand Down