clojure-mode
clojure-mode copied to clipboard
Emacs support for the Clojure(Script) programming language
## Expected behavior Proper syntax highlighting ## Actual behavior  ## Steps to reproduce the problem Write a form containing a word starting with `def` anywhere, e.g. `(defface 'angry-face)` I...
## Expected behavior `clojure-sort-ns` should handle the whole ns form, including `:gen-class`. ## Actual behavior `clojure-sort-ns` chokes on forms like `:gen-class`. ## Steps to reproduce the problem Create a `.clj`...
## Expected behavior ```clojure (-> obj (cond-> pred1 (do-a-thing) pred2 (do-another-thing))) ``` ## Actual behavior ```clojure (-> obj (cond-> pred1 (do-a-thing) pred2 (do-another-thing))) ``` ## Environment & Version information ###...
## Expected behavior When using the `#_` reader macro, you can chain several together. This lets you comment out more than one form at a time. However the Cider syntax...
Given a ns-qualified keyword such as: `::kws.grid/column-settings` I'd like only `clojure-keyword-face` to be applied to it. But also `font-lock-type-face` is partially applied to it: **How it looks like**  **How...
A symbol with ' in it should be font-locked so that the whole symbol has the same color. I'm no expert on font-locking, nor on clojure-mode, but I quickly browsed...
## Expected behavior ``` (let [x y] expr) ``` ## Actual behavior ``` (let [x y] expr) ``` ## Steps to reproduce the problem CRLF line ending at the end...
I was recently having to write a rather complex set of threading code with `as->` and it occurred to me that it would be useful if in an `as->` sexp,...
## Expected behavior All docstrings should be shown in the docstring font-lock color (in my color scheme, a darker green than the green used for regular strings). ## Actual behavior...
It'd be nice if function names in `letfn` were font-locked as function names. Here's a simple code snippet: ``` clojure (letfn [(twice [x] (* x 2)) (six-times [y] (* (twice...