extensions icon indicating copy to clipboard operation
extensions copied to clipboard

LSP support for Nix

Open srid opened this issue 11 months ago • 5 comments

Check for existing issues

  • [X] Completed

Describe the feature

LSP support for Nix would be great.

  • https://github.com/oxalica/nil
  • https://github.com/nix-community/rnix-lsp
  • https://github.com/nix-community/nixd

ctx: https://github.com/zed-industries/zed/issues/5895#issuecomment-1908718458

If applicable, add mockups / screenshots to help present your vision of the feature

No response

srid avatar Mar 27 '24 14:03 srid

This issue should probably be moved to the extensions repo or even the Nix extension repo as a request to the Nix community extensions maintainer, as we're getting close to having Zed extensions support LSP integrations.

cc: @JosephTLyons @maxdeviant

Moshyfawn avatar Mar 27 '24 14:03 Moshyfawn

This issue should probably be moved to the extensions repo or even the Nix extension repo as a request to the Nix community extensions maintainer, as we're getting close to having Zed extensions support LSP integrations.

cc: @JosephTLyons @maxdeviant

Extensions support language servers now!

There are still some functionality that needs to be made available to extensions, but the foundations are there.

maxdeviant avatar Mar 27 '24 14:03 maxdeviant

Extensions support language servers now!

I don't think LSP extensions support is in Preview yet, maybe in today's tentative release?

Moshyfawn avatar Mar 27 '24 14:03 Moshyfawn

Extensions support language servers now!

I don't think LSP extensions support is in Preview yet, maybe in today's tentative release?

I just meant that extensions do support language servers now, so we likely won't be accepting any more language support added into the Zed repo itself.

So moving this to the extensions repo would make sense.

maxdeviant avatar Mar 27 '24 14:03 maxdeviant

Successor of #268

Moshyfawn avatar Mar 27 '24 22:03 Moshyfawn

See https://github.com/zed-industries/extensions/pull/857

msanft avatar Jun 04 '24 14:06 msanft

It seems like the Nix extension now has language server support via nixd.

SCR-20240716-mfrl

JosephTLyons avatar Jul 16 '24 17:07 JosephTLyons