Skip to content

Fix indentation of test files#41

Merged
jeaye merged 1 commit intojank-lang:mainfrom
jaidetree:fix-tests
Jan 18, 2025
Merged

Fix indentation of test files#41
jeaye merged 1 commit intojank-lang:mainfrom
jaidetree:fix-tests

Conversation

@jaidetree
Copy link
Contributor

Created a ~/.config/clojure-lsp/config.edn file with the following:

{:cljfmt {:extra-indents {#re "^with" [[:inner 0]]
                          #re "^def"  [[:inner 0]]
                          #re "^let"  [[:inner 0]]
                          #re "^box"  [[:inner 0]]
                          #re "^h-box"  [[:inner 0]]
                          #re "^v-box"  [[:inner 0]]
                          #re "^fn\\*"  [[:inner 0]]
                          #re "^when-"  [[:inner 0]]}}}

Now auto-formatting from me won't drive anyone crazy 😆

@jeaye
Copy link
Member

jeaye commented Jan 18, 2025 via email

@jeaye jeaye merged commit 0658caf into jank-lang:main Jan 18, 2025
2 of 3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants