Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-lsp/src/file_event.rs')
| -rw-r--r-- | helix-lsp/src/file_event.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/helix-lsp/src/file_event.rs b/helix-lsp/src/file_event.rs index c7297d67..1d60f137 100644 --- a/helix-lsp/src/file_event.rs +++ b/helix-lsp/src/file_event.rs @@ -106,9 +106,7 @@ impl Handler { log::warn!("LSP client was dropped: {id}"); return false; }; - let Ok(uri) = lsp::Url::from_file_path(&path) else { - return true; - }; + let uri = lsp::Url::from_file_path(&path); log::debug!( "Sending didChangeWatchedFiles notification to client '{}'", client.name() |