aaronjanse / nix-eval-lsp

Nix language server that evaluates code
https://github.com/nix-community/rnix-lsp
MIT License
55 stars 4 forks source link

support outside of vscode? #3

Open nrdxp opened 3 years ago

nrdxp commented 3 years ago

I'm a kakoune user and I can't get this to work at all. I've also tried using it from helix. Both have standard lsp implementations so I'm not sure what the issue is.

aaronjanse commented 3 years ago

Huh, that is weird. I also use Kakoune (but I haven't tested it with this lsp), so I'll investigate later this week :-)

As a side note, you most likely want to stick with rnix-lsp for now. This repo is a demonstration of what can be done with evaluation alone, which allows for some very cool stuff, but it's entirely unhelpful (no completion at all) if an expression is in a lambda or contains something nix-eval-lsp doesn't understand. Hopefully we'll get the best of both worlds (dynamic + static analysis) if some of nix-eval-lsp's functionality is merged into rnix-lsp (https://github.com/nix-community/rnix-lsp/pull/38)

siraben commented 3 years ago

+1 for Emacs, though I don't know enough about LSP and Emacs Lisp to say how much of a task this would be.