diff options
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r-- | helix-view/src/editor.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index caf2bce7..5f71fd46 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -456,11 +456,7 @@ impl Editor { let id = if let Some(id) = id { id } else { - let mut doc = Document::open( - &path, - None, - Some(self.syn_loader.clone()), - )?; + let mut doc = Document::open(&path, None, Some(self.syn_loader.clone()))?; let _ = Self::launch_language_server(&mut self.language_servers, &mut doc); |