Skip to content

Commit

Permalink
Changelog #204
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Oct 23, 2023
1 parent 9461775 commit 520a05a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generated_assists.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3001,7 +3001,7 @@ fn main() {
```rust
fn main() {
let x = Some(1);
if let Some(${0:_tmp}) = x {}
if let Some(${0:x}) = x {}
}
```

Expand Down
11 changes: 10 additions & 1 deletion manual.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ To use `rust-analyzer`, you need to install and enable one of the two popular LS

==== Eglot

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.
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.

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

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

To enable clippy, you will need to configure the initialization options to pass the `check.command` setting.

[source,emacs-lisp]
----
(add-to-list 'eglot-server-programs
'((rust-ts-mode rust-mode) .
("rust-analyzer" :initializationOptions (:check (:command "clippy")))))
----

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
https://github.com/joaotavora/eglot/blob/master/README.md[Eglot readme].

Expand Down
23 changes: 23 additions & 0 deletions thisweek/_posts/2023-10-23-changelog-204.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
= Changelog #204
:sectanchors:
:experimental:
:page-layout: post

Commit: commit:10872952c03947124f8ccda7d7aa7930b7da32fe[] +
Release: release:2023-10-23[] (`v0.3.1705`)

== Fixes

* pr:15746[] add diagnostics for string and byte string literal errors.
* pr:15775[] pick a better name for variables introduced by `replace_is_some_with_if_let_some`.
* pr:15736[] add incorrect case diagnostics for module names.
* pr:15789[] store binding mode independently for each instance of a binding.
* pr:15786[] fix client detectin for VS Code Insiders.
* pr:15779[] add command for only opening external docs and attempt to fix `vscode-remote` issue.

== Internal Improvements

* pr:15727[] generate descriptors for all unstable features.
* pr:15764[] expand Emacs documentation.
* pr:15769[], pr:15770[] really fix the metrics deploy key.
* pr:15783[] free up some disk space for auto-publish.

0 comments on commit 520a05a

Please sign in to comment.