diff options
author | Blaž Hrastnik | 2020-10-29 05:06:33 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-12-03 04:10:35 +0000 |
commit | ae8a9e5bac2cb4683015604bb5a431781717c991 (patch) | |
tree | ec1ba02ee59bf73dfbcf3239d6ef9b3002c9c4d2 /helix-view | |
parent | cc6bdf8f66889087223d9a8491479ceecc09a663 (diff) |
lsp: Make base request methods take &self instead of &mut self.
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/commands.rs | 2 |
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) { |