Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit d4ff22a

Browse files
committed
Add note about double builds from didSave
1 parent 144e3cb commit d4ff22a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/actions/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ pub struct InitActionContext {
152152
client_capabilities: Arc<lsp_data::ClientCapabilities>,
153153
client_supports_cmd_run: bool,
154154
/// Set/confirmed true once a `workspace/didChangeWatchedFile` is processed
155+
/// Used to avoid other notifications like didSave causing double cargo builds
155156
client_use_change_watched: bool,
156157
/// Whether the server is performing cleanup (after having received
157158
/// 'shutdown' request), just before final 'exit' request.

0 commit comments

Comments
 (0)