mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
use-package clojure
This commit is contained in:
parent
d54edaf659
commit
f8a4292a6a
34
init.org
34
init.org
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user