We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indenting deftype forms should be consistent (and ideally aesthetically pleasing)
deftype
Method implementations with attached metadata in deftype seem to be indented as if they were common lists, instead of method implementations
Try to indent:
(deftype MyType [] MyProtocol (do-thing [] :indented) (^:meta do-thing2 [] :not-indented))
(And notice it stays as-is, with :indented and :not-indented being indented inconsistently)
:indented
:not-indented
clojure-mode (version 5.13.0)
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
GNU Guix System
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 were common lists, instead of method implementationsSteps to reproduce the problem
Try to indent:
(And notice it stays as-is, with
:indented
and:not-indented
being indented inconsistently)Environment & Version information
clojure-mode version
Emacs version
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
Operating system
GNU Guix System
The text was updated successfully, but these errors were encountered: