use-package clojure

This commit is contained in:
larstvei 2023-06-11 22:08:37 +02:00
parent d54edaf659
commit f8a4292a6a

View File

@ -207,9 +207,7 @@
(let* ((package--builtins nil) (let* ((package--builtins nil)
(packages (packages
'(cider ; Clojure Interactive Development Environment '(company ; Modular text completion framework
clj-refactor ; Commands for refactoring Clojure code
company ; Modular text completion framework
company-coq ; A collection of extensions PG's Coq mode company-coq ; A collection of extensions PG's Coq mode
counsel ; Various completion functions using Ivy counsel ; Various completion functions using Ivy
counsel-projectile ; Ivy integration for Projectile counsel-projectile ; Ivy integration for Projectile
@ -1195,6 +1193,27 @@
#+end_src #+end_src
*** Clojure
A very simple setup for Clojure. Cider works pretty much out of the box!
#+begin_src emacs-lisp
;; Clojure Interactive Development Environment
(use-package cider
:defer t
:bind (:map cider-repl-mode-map ("C-l" . cider-repl-clear-buffer)))
#+end_src
#+begin_src emacs-lisp
;; Commands for refactoring Clojure code
(use-package clj-refactor
:defer t)
#+end_src
*** Common lisp *** Common lisp
I use [[http://www.common-lisp.net/project/slime/][Slime]] along with =lisp-mode= to edit Common Lisp code. Slime provides I use [[http://www.common-lisp.net/project/slime/][Slime]] along with =lisp-mode= to edit Common Lisp code. Slime provides
@ -1586,15 +1605,6 @@
#+end_src #+end_src
** Bindings for [[https://github.com/clojure-emacs/cider][Cider]]
#+begin_src emacs-lisp
(with-eval-after-load 'cider
(define-key cider-repl-mode-map (kbd "C-l") 'cider-repl-clear-buffer))
#+end_src
** Bindings for [[https://github.com/rnkn/olivetti][Olivetti]] ** Bindings for [[https://github.com/rnkn/olivetti][Olivetti]]
#+begin_src emacs-lisp #+begin_src emacs-lisp