Skip to content

feat(kdlfmt): add formatCommand, config and flag#500

Open
tetov wants to merge 1 commit intonumtide:mainfrom
tetov:tetov/push-kkymzqupuuqv
Open

feat(kdlfmt): add formatCommand, config and flag#500
tetov wants to merge 1 commit intonumtide:mainfrom
tetov:tetov/push-kkymzqupuuqv

Conversation

@tetov
Copy link
Copy Markdown

@tetov tetov commented Apr 20, 2026

kdlfmt can both format and check, so added formatCommand.

It can also set kdl-version, and has a config file.

There's no generator for KDL in nixpkgs so I wrote a very simple one that is enough for the currently available settings and will probably be enough for some more if they are added later.

I've tested the settings, the version flag and using formatCommand check.

@tetov tetov force-pushed the tetov/push-kkymzqupuuqv branch from cae400d to 488fa40 Compare April 20, 2026 15:42
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.

1 participant