Skip to content

Commit 520a05a

Browse files
committed
Changelog #204
1 parent 9461775 commit 520a05a

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

generated_assists.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3001,7 +3001,7 @@ fn main() {
30013001
```rust
30023002
fn main() {
30033003
let x = Some(1);
3004-
if let Some(${0:_tmp}) = x {}
3004+
if let Some(${0:x}) = x {}
30053005
}
30063006
```
30073007

manual.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ To use `rust-analyzer`, you need to install and enable one of the two popular LS
237237

238238
==== Eglot
239239

240-
Eglot is the more minimalistic and lightweight LSP client for Emacs, integrates well with existing Emacs functionality and will be built into Emacs starting from release 29.
240+
Eglot is the more minimalistic and lightweight LSP client for Emacs, integrates well with existing Emacs functionality and is built into Emacs starting from release 29.
241241

242242
After installing Eglot, e.g. via `M-x package-install` (not needed from Emacs 29), you can enable it via the `M-x eglot` command or load it automatically in `rust-mode` via
243243

@@ -246,6 +246,15 @@ After installing Eglot, e.g. via `M-x package-install` (not needed from Emacs 29
246246
(add-hook 'rust-mode-hook 'eglot-ensure)
247247
----
248248

249+
To enable clippy, you will need to configure the initialization options to pass the `check.command` setting.
250+
251+
[source,emacs-lisp]
252+
----
253+
(add-to-list 'eglot-server-programs
254+
'((rust-ts-mode rust-mode) .
255+
("rust-analyzer" :initializationOptions (:check (:command "clippy")))))
256+
----
257+
249258
For more detailed instructions and options see the https://joaotavora.github.io/eglot[Eglot manual] (also available from Emacs via `M-x info`) and the
250259
https://github.com/joaotavora/eglot/blob/master/README.md[Eglot readme].
251260

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
= Changelog #204
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:10872952c03947124f8ccda7d7aa7930b7da32fe[] +
7+
Release: release:2023-10-23[] (`v0.3.1705`)
8+
9+
== Fixes
10+
11+
* pr:15746[] add diagnostics for string and byte string literal errors.
12+
* pr:15775[] pick a better name for variables introduced by `replace_is_some_with_if_let_some`.
13+
* pr:15736[] add incorrect case diagnostics for module names.
14+
* pr:15789[] store binding mode independently for each instance of a binding.
15+
* pr:15786[] fix client detectin for VS Code Insiders.
16+
* pr:15779[] add command for only opening external docs and attempt to fix `vscode-remote` issue.
17+
18+
== Internal Improvements
19+
20+
* pr:15727[] generate descriptors for all unstable features.
21+
* pr:15764[] expand Emacs documentation.
22+
* pr:15769[], pr:15770[] really fix the metrics deploy key.
23+
* pr:15783[] free up some disk space for auto-publish.

0 commit comments

Comments
 (0)