Skip to content

Indentation bug related to namespace metadata tags  #304

Closed
@cheesinglee

Description

@cheesinglee

Adding a metadata tag to a namespace declaration causes the following lines in to be indented improperly (4 spaces instead of 2).

(ns ^:metadata my.namespace
    (:use clojure.test))
...

However, if a docstring is present, then indentation is correct again.

(ns ^:metadata my.namespace
  "my docstring"
  (:use clojure.test))

This issue was observed with emacs 24.5.1 and clojure-mode 4.2.0-snapshot, on Arch Linux x86_64.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions