From 54a7e893b704b268f7d9d8b4692d3722db6a98df Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 16 Mar 2021 16:20:43 +0900 Subject: lsp: Wire up didClose notification on editor.close. --- helix-term/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term') diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index d80662d7..353d79cc 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -691,7 +691,7 @@ pub fn command_mode(cx: &mut Context) { match *parts.as_slice() { ["q"] | ["quit"] => { - editor.tree.remove(editor.view().id); + editor.close(editor.view().id, executor); // editor.should_close = true, } ["o", path] | ["open", path] => { -- cgit v1.2.3-70-g09d2