aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-08 04:50:03 +0000
committerBlaž Hrastnik2021-08-08 05:08:54 +0000
commitf0eb6ed96a6e61ee6abe3aa14071cfc003d0b37f (patch)
treed499876d61eeecbace41b8e14051f9e7fa751ab9 /helix-view/src
parentdbd853a08211123c335d1bdeead7865d30d08a3f (diff)
Resolve a couple TODOs
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/document.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 4ad08ce9..99faebec 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -520,13 +520,12 @@ impl Document {
// state without blocking any further edits.
let mut text = self.text().clone();
- let path = self.path.clone().expect("Can't save with no path set!"); // TODO: handle no path
+ let path = self.path.clone().expect("Can't save with no path set!");
let identifier = self.identifier();
- // TODO: mark changes up to now as saved
-
let language_server = self.language_server.clone();
+ // mark changes up to now as saved
self.reset_modified();
let encoding = self.encoding;