Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add instructions for zed editor in readme #239

Closed
linux-cultist opened this issue Sep 17, 2024 · 4 comments
Closed

Add instructions for zed editor in readme #239

linux-cultist opened this issue Sep 17, 2024 · 4 comments

Comments

@linux-cultist
Copy link

I tried a few times to configure nimlangserver with the zed editor but hasnt succeeded. Just some help in the readme would be much appriciated.

@foxoman
Copy link
Contributor

foxoman commented Sep 19, 2024

Did you tried https://github.com/foxoman/zed-nim

@linux-cultist
Copy link
Author

linux-cultist commented Sep 19, 2024

Yeah I did and it doesn't work... I was hoping for some tips on if I'm supposed to do something else than just install the language server. Because normally that is all it takes, but in this case I tried

  • Installing nim language server from the OS packet repository. Didn't seem to do anything.
  • Install nimble and try to install the nim language server using that, and add nimble path to the system path. Didn't seem to do anything either.

So I'm not sure what to do. What steps do I need to take to get nim lsp support?

I really want to get into nim so I hope I'm doing something wrong... And there is a solution.

@jmgomez
Copy link
Collaborator

jmgomez commented Sep 27, 2024

zed-nim instructions worked for me.

@linux-cultist Can you try again with the latest release of the nimlangserver?
@foxoman Do you mind making a PR that points to zed-nim instructions?

@linux-cultist
Copy link
Author

linux-cultist commented Sep 27, 2024

Found a solution that worked:

Now it runs!

I dont know if its just me needing to do this. Im on arch linux with the latest packages. Maybe mention it in readme for future users.

foxoman added a commit to foxoman/langserver that referenced this issue Sep 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants