Add autocomplete for lisp
This commit is contained in:
parent
a3ecb33acc
commit
12cef6e976
@ -188,6 +188,11 @@
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package magit :ensure t)
|
||||
#+END_SRC
|
||||
** Autocomplete
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package auto-complete :ensure t)
|
||||
(ac-config-default)
|
||||
#+END_SRC
|
||||
** Company mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package company
|
||||
@ -224,6 +229,20 @@
|
||||
:init
|
||||
(setq inferior-lisp-program "sbcl"))
|
||||
#+END_SRC
|
||||
**** AC-Slime
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package ac-slime
|
||||
:ensure t
|
||||
:straight '(ac-slime
|
||||
:type git
|
||||
:host github
|
||||
:repo "purcell/ac-slime"))
|
||||
(add-hook 'slime-mode-hook 'set-up-slime-ac)
|
||||
(add-hook 'slime-repl-mode-hook 'set-up-slime-ac)
|
||||
(eval-after-load "auto-complete"
|
||||
'(add-to-list 'ac-modes 'slime-repl-mode))
|
||||
|
||||
#+END_SRC
|
||||
*** Elixir
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package elixir-mode
|
||||
|
Loading…
Reference in New Issue
Block a user