Skip to content

How to define-clojure-indent on all keywords at once? #420

Open
@raxod502

Description

@raxod502

It looks like define-clojure-indent (and put-clojure-indent) only allow defining the indentation rules for individual symbols. I wish for all keywords to be indented like this:

(:keyword
  map)

Unfortunately, there seems to be no way to do that except by listing every possible keyword explicitly:

(define-clojure-indent
  (:import 0)
  (:require 0)
  ... lots more ...
  (:use 0))

The problems with that approach are obvious, I think.

Since this isn't a bug report, I don't think environment information will be helpful (although I install the latest versions of my Emacs packages from MELPA). I am happy to report such information if need be, though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions