doc: LSP setup using Nix

This commit is contained in:
Sebastian Ullrich 2020-12-23 19:36:27 +01:00
parent f42bd8f693
commit d2b82bf563

View file

@ -70,6 +70,8 @@ Starting a known-good (pinned) version of Emacs from the Lean shell with `lean4-
```bash
nix run .#emacs-dev
```
After adding `src/` as an LSP workspace using `lsp-workspace-folder-add`, it should automatically fall back to using stage 0 in there.
If you've already installed lean4-mode manually, you might need to first deactivate that. `elan` can be left as is on the other hand.
Arguments can be passed as well: