Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ You can use this configuration as your base Emacs configuration, or adapt it to

1. Clone, copy, or merge this repository as your `~/.emacs.d/` directory
2. Copy or merge the provided `profiles_sample.clj` to your `~/.lein/` directory as `profiles.clj`
3. Add a flycheck-clojure configuration to your Clojure project(s)' `project.clj`. You can see [an example of this step](https://github.com/clojure-emacs/squiggly-clojure/blob/master/sample-project/project.clj) in the flycheck-clojure repository.

Load a Clojure file, and execute `cider-jack-in` (`C-c M-j`).

Expand All @@ -18,9 +19,11 @@ Happy Clojure hacking!
## Featured packages

* [paredit, very basic intro](http://www.braveclojure.com/using-emacs-with-clojure/#5__Paredit), [cheat sheet](https://github.com/joelittlejohn/paredit-cheatsheet)
* [flycheck](http://www.flycheck.org/), [quick start](http://www.flycheck.org/en/latest/guide/quickstart.html)
* [clojure-mode](https://github.com/clojure-emacs/clojure-mode)
* [cider](https://github.com/clojure-emacs/cider), [cider-mode](https://github.com/clojure-emacs/cider#cider-mode)
* [clj-refactor](https://github.com/clojure-emacs/clj-refactor.el), [refactor functions](https://github.com/clojure-emacs/clj-refactor.el#usage)
* [flycheck-clojure, aka squiggly-clojure](https://github.com/clojure-emacs/squiggly-clojure)

## Package versions

Expand Down
8 changes: 8 additions & 0 deletions cfg-flycheck.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(require-package 'flycheck)
(require-package 'flycheck-clojure)

(require 'flycheck)

(eval-after-load 'flycheck '(flycheck-clojure-setup))

(add-hook 'after-init-hook #'global-flycheck-mode)
1 change: 1 addition & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ re-downloaded in order to locate PACKAGE."
(exec-path-from-shell-initialize))

(dolist (file '("cfg-paredit.el"
"cfg-flycheck.el"
"cfg-hlsexp.el"
"cfg-cider.el"
"cfg-cljrefactor.el"))
Expand Down
3 changes: 2 additions & 1 deletion profiles_sample.clj
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{:user {:plugins [[cider/cider-nrepl "0.8.2"]
[refactor-nrepl "0.3.0-SNAPSHOT"]]}}
[refactor-nrepl "0.3.0-SNAPSHOT"]]
:dependencies [[acyclic/squiggly-clojure "0.1.2-SNAPSHOT"]]}}