diff options
| author | Michael Eliachevitch <m.eliachevitch@posteo.de> | 2023-01-25 12:50:58 +0100 |
|---|---|---|
| committer | Michael Eliachevitch <m.eliachevitch@posteo.de> | 2023-01-25 13:36:27 +0100 |
| commit | 18366145b0150be81e39e9c6e93f2cdfe2b18582 (patch) | |
| tree | 3f35e8b93a6e2bb737de23a3dfdcba1ca9779693 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff | |
| parent | 8bf338f2c86f7863a17e9884a7e7d6676c1cd9d0 (diff) | |
| download | rust-18366145b0150be81e39e9c6e93f2cdfe2b18582.tar.gz rust-18366145b0150be81e39e9c6e93f2cdfe2b18582.zip | |
Update documentation for emacs and split for LSP and Eglot modes
Emacs has now two LSP clients, the more minimalistic and lightweight Eglot and
the extensive though a bit bloated LSP-Mode. Eglot will soon be
shipped with Emacs29. Both have rust-analyzer enabled by default and require
no further setup then just being installed and enabled. `lsp-rust.el` is not
required anymore.
The base-installation for each of those modes is so easy now that I don't think
an enumerated list is necessary, both package can be installed via the standard
`M-x package-install` and the installation is a one-liner that I provide.
Configuration mostly comes into play for support the rust-analyzer extensions to
the LSP protocol, which are built into LSP mode and require an extension-package
for Eglot.
But for the configuration beyond the base configuration I link against official
documentation, quickstart guides and documentation for the lsp extensions, to
avoid showing outdated information here.
This commit is mostly a duplicate of a PR [1] that I made against the
rust-analyzer github project.
[1]: https://github.com/rust-analyzer/rust-analyzer.github.io/pull/197,
https://github.com/rust-analyzer/rust-analyzer.github.io/pull/197/commits/7ff0113006d71a2114cf233422366bee6a5457c2
Spelling: Space before version number in Emacs 29 in manual
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
