Skip to content

Latest commit

 

History

History
115 lines (102 loc) · 5.94 KB

README.org

File metadata and controls

115 lines (102 loc) · 5.94 KB

lang/clojure

Table of Contents

Description

This module adds support for the Clojure(Script) language.

  • Interactive development environment (cider): REPL, compilation, debugging, running tests, definitions & documentation lookup, code completion, and much more
  • Refactoring (clj-refactor)
  • Linting (clj-kondo), requires :checkers syntax
  • LSP support (clojure-lsp)

Maintainers

This module has no dedicated maintainers.

Module Flags

  • +lsp Enables LSP support, alongside Cider.

Plugins

Hacks

  • Error messages emitted from CIDER are piped into the REPL buffer when it is first opened, to make them easier to notice.
  • Disabled the help banner when opening the cider REPL.

Prerequisites

This module requires:

Features

Keybindings

BindingDescription
<localleader> '​cider-jack-in-clj
<localleader> Ccider-connect-cljs
<localleader> Mcider-macroexpand-all
<localleader> Rhydra-cljr-help-menu/body
<localleader> ccider-connect-clj
<localleader> e Dcider-insert-defun-in-repl
<localleader> e Ecider-insert-last-sexp-in-repl
<localleader> e Rcider-insert-region-in-repl
<localleader> e bcider-eval-buffer
<localleader> e dcider-eval-defun-at-point
<localleader> e ecider-eval-last-sexp
<localleader> e rcider-eval-region
<localleader> e ucider-undef
<localleader> g bcider-pop-back
<localleader> g gcider-find-var
<localleader> g ncider-find-ns
<localleader> h acider-apropos
<localleader> h ccider-clojuredocs
<localleader> h dcider-doc
<localleader> h jcider-javadoc
<localleader> h ncider-find-ns
<localleader> h wcider-clojuredocs-web
<localleader> i ecider-enlighten-mode
<localleader> i icider-inspect
<localleader> i rcider-inspect-last-result
<localleader> m "​cider-jack-in-cljs
<localleader> mcider-macroexpand-1
<localleader> n Ncider-browse-ns-all
<localleader> n ncider-browse-ns
<localleader> n rcider-ns-refresh
<localleader> p dcider-pprint-eval-defun-at-point
<localleader> p Dcider-pprint-eval-defun-to-comment
<localleader> p pcider-pprint-eval-last-sexp
<localleader> p Pcider-pprint-eval-last-sexp-to-comment
<localleader> p rcider-pprint-eval-last-sexp-to-repl
<localleader> r B+clojure/cider-switch-to-repl-buffer-and-switch-ns
<localleader> r Lcider-load-buffer-and-switch-to-repl-buffer
<localleader> r Rcider-restart
<localleader> r bcider-switch-to-repl-buffer
<localleader> r ccider-find-and-clear-repl-output
<localleader> r lcider-load-buffer
<localleader> r ncider-repl-set-ns
<localleader> r qcider-quit
<localleader> r rcider-ns-refresh
<localleader> t acider-test-rerun-test
<localleader> t lcider-test-run-loaded-tests
<localleader> t ncider-test-run-ns-tests
<localleader> t pcider-test-run-project-tests
<localleader> t rcider-test-rerun-failed-tests
<localleader> t scider-test-run-ns-tests-with-filters
<localleader> t tcider-test-run-test

Configuration

Troubleshooting