Add :lang common-lisp
This commit is contained in:
parent
eb254afd51
commit
8889d5cc2b
4 changed files with 26 additions and 6 deletions
20
modules/lang/common-lisp/config.el
Normal file
20
modules/lang/common-lisp/config.el
Normal file
|
@ -0,0 +1,20 @@
|
|||
;;; lang/common-lisp/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;; `slime'
|
||||
(setq slime-contribs '(slime-fancy))
|
||||
(after! slime
|
||||
(setq inferior-lisp-program (executable-find "sbcl")))
|
||||
|
||||
|
||||
(def-package! slime-company
|
||||
:when (featurep! :completion company)
|
||||
:commands slime-company
|
||||
:init
|
||||
(push 'slime-company slime-contribs)
|
||||
|
||||
;; Don't override the global `company-backends'!
|
||||
(defun +common-lisp|make-company-backends-local (&rest _)
|
||||
(make-variable-buffer-local 'company-backends))
|
||||
(advice-add #'slime-company-maybe-enable
|
||||
:before #'+common-lisp|make-company-backends-local))
|
||||
|
6
modules/lang/common-lisp/packages.el
Normal file
6
modules/lang/common-lisp/packages.el
Normal file
|
@ -0,0 +1,6 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/common-lisp/packages.el
|
||||
|
||||
(package! slime)
|
||||
(when (featurep! :completion company)
|
||||
(package! slime-company))
|
|
@ -71,11 +71,6 @@
|
|||
auto-compile-use-mode-line nil)
|
||||
|
||||
|
||||
;; `slime'
|
||||
(setq inferior-lisp-program "clisp")
|
||||
(after! slime (require 'slime-fuzzy))
|
||||
|
||||
|
||||
;; `macrostep'
|
||||
(map! :after macrostep
|
||||
:map macrostep-keymap
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
(package! highlight-quoted)
|
||||
(package! macrostep)
|
||||
(package! overseer)
|
||||
(package! slime)
|
||||
|
||||
(when (featurep! :feature syntax-checker)
|
||||
(package! flycheck-cask))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue