Skip to content

Commit de0be02

Browse files
authored
Update README.md
Signed-off-by: Matteo Bigoi <[email protected]>
1 parent 14e2022 commit de0be02

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
[![Crates.io](https://img.shields.io/crates/v/bacon-ls?style=for-the-badge)](https://crates.io/crates/bacon-ls)
66
[![License](https://img.shields.io/badge/license-MIT-blue?style=for-the-badge)](https://github.com/crisidev/bacon-ls/blob/main/LICENSE)
77

8-
LSP Server wrapper for the exceptional [Bacon](https://dystroy.org/bacon/) exposing [textDocument/diagnostic](https://microsoft.github.io/language-server-protocol/specification#textDocument_diagnostic) and [workspace/diagnostic](https://microsoft.github.io/language-server-protocol/specification#workspace_diagnostic) capabilities.
8+
**Are you tired of [rust-analyzer](https://rust-analyzer.github.io/) diagnostics being slow?**
99

10+
LSP Server wrapper for the exceptional [Bacon](https://dystroy.org/bacon/) exposing [textDocument/diagnostic](https://microsoft.github.io/language-server-protocol/specification#textDocument_diagnostic) and [workspace/diagnostic](https://microsoft.github.io/language-server-protocol/specification#workspace_diagnostic) capabilities.
1011

1112
![Bacon screenshot](./img/screenshot.png)
1213

@@ -135,6 +136,11 @@ rust-analyzer.diagnostics.enable = false
135136

136137
The extension can be configured using the VSCode settings interface.
137138

139+
**It is very important that rust-analyzer `Check On Save` and `Diagnostics` are disabled for `bacon-ls` to work properly:**
140+
141+
* Untick `Rust-analyzer -> general -> Check On Save`
142+
* Untick `Rust-analyzer -> diagnostics -> Enable`
143+
138144
### Coc.nvim
139145

140146
```vim

0 commit comments

Comments
 (0)