summaryrefslogtreecommitdiff
path: root/support/texlab/crates/base-db/src/workspace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/base-db/src/workspace.rs')
-rw-r--r--support/texlab/crates/base-db/src/workspace.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/texlab/crates/base-db/src/workspace.rs b/support/texlab/crates/base-db/src/workspace.rs
index 581d93cfc3..58c7567f9d 100644
--- a/support/texlab/crates/base-db/src/workspace.rs
+++ b/support/texlab/crates/base-db/src/workspace.rs
@@ -75,7 +75,8 @@ impl Workspace {
Cow::Owned(text) => text,
};
- Ok(self.open(uri, text, language, owner, LineCol { line: 0, col: 0 }))
+ self.open(uri, text, language, owner, LineCol { line: 0, col: 0 });
+ Ok(())
}
pub fn edit(&mut self, uri: &Url, delete: TextRange, insert: &str) -> Option<()> {