Using Haskell Nix parser and evaluator implement LSP support for all the editors.
- Formatting with error reporting
- Evaluating
- ???
Make sure hnix-lsp
is available on your $PATH
:
$ git clone https://github.com/domenkozar/hnix-lsp.git
$ cd hnix-lsp
$ nix-env -if .
See https://github.com/domenkozar/ide-nix
Please contribute, usually it's a very small package that just needs to start
hnix-lsp
executable.