clojure-mode
clojure-mode copied to clipboard
Emacs support for the Clojure(Script) programming language
## Problem Sometimes, it is desirable to indent specific forms in a non-standard(?) way. Below is a couple of use-case exhibit to better illustrate the issue. ```clojure ;;;; om ;;...
*Use the template below when reporting bugs. Please, make sure that you're running the latest stable clojure-mode and that the problem you're reporting hasn't been reported (and potentially fixed) already.*...
## Expected behavior Indenting `deftype` forms should be consistent (and ideally aesthetically pleasing) ## Actual behavior Method implementations with attached metadata in `deftype` seem to be indented as if they...
## Expected behavior `clojure-mode` should indent `match` forms (from [`core.match`](https://github.com/clojure/core.match)) the same as `M-x cider-format-region` or `M-x lsp-format-region`. For example: ```clojure (doseq [n (range 1 101)] (println (match [(mod n...
See https://github.com/clojure-emacs/cider/issues/3009 ## Expected behavior `clojure-find-ns` should handle properly an `ns` form with preceding whitespace. ## Actual behavior It returns `nil`. ## Steps to reproduce the problem ```clojure (ns foo.bar)...
## Expected behavior Proper code indentation ## Actual behavior Message/error `Wrong type argument: number-or-marker-p` ## Steps to reproduce the problem Install the emacs from the `native-comp` branch, commit `64425ee0d` and...
Emacs is stuck when opening file containing `comment` when clojure-toplevel-inside-comment-form is t
## Expected behavior Emacs working fine ## Actual behavior Emacs freeze ## Steps to reproduce the problem do `(setq clojure-toplevel-inside-comment-form t)` then open clj file containing `comment`. Originally reported at...
## Expected behavior `#_` comments should mark the following expr as a comment (e.g. via `syntax-table` text property). ## Actual behavior It does not happen. ## Steps to reproduce the...
## Broken font locking (some things that should be highlighted aren't). Happens when passing a clojure file as an argument to the emacs command as in `emacs somedir/somefile.clj`. `*Messages*` reports:...
## Expected behavior I was expecting `clojure-mode`'s indentation to behave similar to `cider-format` and `lein cljfmt`. Is there some way to configure `clojure-mode` to indent the same way as `cider-format`?...