Skip to content
New issue

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

Code formatting #652

Open
justjoheinz opened this issue Aug 26, 2024 · 2 comments
Open

Code formatting #652

justjoheinz opened this issue Aug 26, 2024 · 2 comments

Comments

@justjoheinz
Copy link

I am not sure if this is a sly problem or not. Within doom emacs with sly, I write e.g. a package definition and the formatting it gets on save is odd:

(uiop:define-package rockets
  (:use :cl)
  (:import-from :alexandria
   :define-constant
                :random-elt
   :if-let
                :when-let)
  (:export
   #:main))

Everytime I use import-from the individual keywords from the list are aligned left and right in an alternating fashion. I would expect them to all aligned at the same column, or maybe under the package name (alexandria in my case).

@justjoheinz

This comment was marked as outdated.

@justjoheinz
Copy link
Author

(:import-from :alexandria
                        #:define-constant
                        #:random-elt
                        #:if-let
                        #:when-let)

gets formatted correctly. I found this by coincidence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@justjoheinz and others