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

Improve instructions on getting started #432

Closed
amingilani opened this issue Dec 3, 2024 · 1 comment
Closed

Improve instructions on getting started #432

amingilani opened this issue Dec 3, 2024 · 1 comment

Comments

@amingilani
Copy link

As someone unfamiliar with nix, and trying to get this running. This has been incredibly frustrating.

I followed the instructions in the README and was met with:

[Error - 4:37:24 AM] Request textDocument/formatting failed.
Message: No formatter configured. Set the nil.formatting.command LSP server setting.
Code: -32603

I ensured that I had nil and direnv available, and went through several different configurations of trying to configure the command. They've all been met with:

[Error - 4:35:20 AM] Request textDocument/formatting failed.

I haven't been able to find a single configuration that works. I've through 8 different variations and even tried to copy the configuraitons other users posted in this repo, and others.

Please improve the README with specific instructions on getting started.

@Flameopathic
Copy link

Have you tried the configuration in the README? It's under LSP Plugin Support > Advanced Settings. That's the config that I use and it only gives me the error you're talking about if I have a syntax error. I don't know enough about the codebase if you've tried that and it doesn't work.

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