Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Support arbitrary formatter? #80

Open
mightyiam opened this issue Mar 12, 2022 · 2 comments
Open

Support arbitrary formatter? #80

mightyiam opened this issue Mar 12, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mightyiam
Copy link

I ran across https://github.com/kamadorueda/alejandra. I tried it. I liked it. But rnix-lsp doesn't seem to support using arbitrary formatters. So... Would this be a reasonable feature to ask?

@mightyiam mightyiam added the enhancement New feature or request label Mar 12, 2022
@Ma27
Copy link
Member

Ma27 commented Mar 15, 2022

Last time I looked I wasn't too fond of it, but that was a few weeks ago, so things might've changed.
Anyways, this is IMHO reasonable, but I don't have the capacity atm to implement that, so feel free to file a PR if you'd like to. I'll add a "help wanted"-label to make this explicit.

@Ma27 Ma27 added the help wanted Extra attention is needed label Mar 15, 2022
@marcelarie
Copy link

marcelarie commented Apr 17, 2022

@mightyiam idk if you use nvim, but if you do, you can use null-ls for the formatting with alejandra.

I just opened the PR today, still needs to be merged 😁

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants