aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-29 05:06:33 +0000
committerBlaž Hrastnik2020-12-03 04:10:35 +0000
commitae8a9e5bac2cb4683015604bb5a431781717c991 (patch)
treeec1ba02ee59bf73dfbcf3239d6ef9b3002c9c4d2 /helix-view/src
parentcc6bdf8f66889087223d9a8491479ceecc09a663 (diff)
lsp: Make base request methods take &self instead of &mut self.
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/commands.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-view/src/commands.rs b/helix-view/src/commands.rs
index 52e09dd6..f2e62044 100644
--- a/helix-view/src/commands.rs
+++ b/helix-view/src/commands.rs
@@ -404,6 +404,8 @@ fn append_changes_to_history(view: &mut View) {
let old_state = std::mem::replace(&mut view.doc.old_state, view.doc.state.clone());
// TODO: take transaction by value?
view.doc.history.commit_revision(&transaction, &old_state);
+
+ // TODO: notify LSP of changes
}
pub fn normal_mode(view: &mut View, _count: usize) {