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

README.md #12

Open
expelledboy opened this issue Mar 26, 2020 · 3 comments
Open

README.md #12

expelledboy opened this issue Mar 26, 2020 · 3 comments

Comments

@expelledboy
Copy link

Hey @ebkalderon, excited to see this being written! Could you give me a quick intro to get it working? I used nix -> vim -> buildin vim language server. Any assistance would be great, even just an introduction.

@ebkalderon
Copy link
Owner

Hey there, @expelledboy! It should be usable like any other language server using the stdio transport. So for Vim, for example, you could use any of the following plugins:

You can compile the language server in release mode with cargo build --release and the binary would be found in target/release/nix-language-server. Then, you would point your language client plugin to this path.

@ebkalderon
Copy link
Owner

Please do keep in mind that the existing parser is not fully feature-complete and is undergoing a redesign, as tracked in issue #11.

As such, parsing bugs for the old parser will not be tracked until the rewrite is complete. Current known bugs include:

The existing parser should still work in the meantime, though, so any ongoing work on the new parser (current progress in the nix-lexer and nix-parser2 crates) will not break any existing functionality.

@ebkalderon
Copy link
Owner

In reference to the issue title, I haven't created a README for the project yet because the language server is nowhere near feature complete yet and is just a hobby project that I work on whenever I can. However, I do really appreciate the interest!

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