Skip to content

v5.23.0

Latest

Choose a tag to compare

@bbatsov bbatsov released this 25 Mar 08:11
· 1 commit to master since this release

New features

  • Adopt the modern indent spec tuple format (((:block N)), ((:inner D)), ((:inner D I))) shared with clojure-ts-mode and cljfmt. The legacy format (integers, :defn, positional lists) is still accepted but will be removed in clojure-mode 6.
    • Add clojure-get-indent-spec public API for retrieving indent specs in the modern format.
    • put-clojure-indent and define-clojure-indent now accept both modern and legacy indent specs.

Changes

  • Convert all built-in define-clojure-indent specs to the modern tuple format.
  • Improve documentation for the backtracking indentation mechanism in the README and docstrings.
  • Migrate CI from CircleCI to GitHub Actions.

Bugs fixed

  • Fix clojure-paredit-setup to apply to edn-mode-map as well as clojure-mode-map.
  • Fix destructive sort bug in clojure-project-root-path.