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

Add instructions for helix editor #181

Open
sebffischer opened this issue Jan 17, 2025 · 1 comment
Open

Add instructions for helix editor #181

sebffischer opened this issue Jan 17, 2025 · 1 comment

Comments

@sebffischer
Copy link

I think it is currently impossible, but will soon be possible to use air with the helix editor.
The problem currently is that the content of the file is passed to the formatter via stdin, but air requires the filenames (see the issue in helix here: helix-editor/helix#3596).

However, there is an open Pull Request in helix that gives access to the file name to the formatter, so once this is merged I think air should be usable with helix and I could add instructions.

On a side-note: are there some "good first issue" issues that can be tackled here? Would love to contribute.

@DavisVaughan
Copy link
Collaborator

DavisVaughan commented Jan 20, 2025

The Air command line tool offers a full language server, which Helix seems to support. We do plan to add stdin support to the air format command, but you'll probably have better luck with air language-server set up in the same way as the ruff guide
https://docs.astral.sh/ruff/editors/setup/#helix

(I haven't tried this though)


are there some "good first issue" issues

Nothing quite yet, still working through some larger features that might result in major infrastructure rewrites, particularly in the lsp server. But we expect that to stabilize in a month or so and then we would love to have more contributors!

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