cljfmt
cljfmt copied to clipboard
A tool for formatting Clojure code
I'd like to I want to compile cljfmt using graalvm to create a binary. I'm probably doing it wrong, but this is what I'm doing: ```bash ## setting GRAAVLM_HOME appropriately...
Allow an indent rule to be created for all functions / macros that are not defined [here](https://github.com/weavejester/cljfmt/blob/master/cljfmt/resources/cljfmt/indents/clojure.clj) or in the :indents map. Half of our team is using Cursive, which...
I initially filed an [issue](https://github.com/liquidz/vim-iced/issues/418#issuecomment-1165994792) in the vim-iced repo, but it looks like it's an issue with cljfmt. Using Tonsky's formatting rule: `indentation.clj`: ```clojure {#"^\w" [[:inner 0]]} ``` Starting file:...
I'd like to sort the namespaces in a non-alphabetical way: clojure core libraries first, followed by external namespaces, and then internal namespaces. Feels like it'd be simple to add on...
It should be possible to use leading `,` to force indentation. cljfmt currently [strips leading ,](https://circleci.com/gh/jaunt-lang/jaunt/426) leading to unexpected changes in indentation.
Having the aliases, indents, and formatting options passed as CLI arguments is not ideal for editor integration and using `cljfmt` in multiple projects. It'd be awesome if `cljfmt` could read...
It is neither removing whitespace at the end of a file, not removing commas (for example in maps). Steps to reproduce This `example.clj`: ```clj (ns example) {:a 1, :b 2}...
Annoyingly this requires those two summary functions, but I think this is an important feature to show what the default configuration actually is. The functions are taken from the default...
Addresses #255. Command could also be called "pipe" or just "stdin".
This doubles the speed for multi file processing in a native image. By separating the identification of parent form-symbols from the rule matching and using map look-ups. Related to #254.