fix completion resolve

This commit is contained in:
Dongdong Zhou 2021-10-12 22:20:09 +01:00
parent 057495d0fe
commit b6b75c8e8d
2 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,6 @@
use crate::{
data::{watch_settings, LapceData, LapceWindowLens},
terminal::Terminal,
window::LapceWindowNew,
};
@ -20,9 +19,6 @@ fn build_window(data: &LapceData) -> impl Widget<LapceData> {
}
pub fn lanuch() {
let terminal = Terminal::new();
terminal.insert("ls\n");
let mut data = LapceData::load();
let root = build_window(&data);
let window = WindowDesc::new(root)

View File

@ -3058,6 +3058,11 @@ fn event(
&mut editor_data,
env,
);
data.update_from_editor_buffer_data(
editor_data,
&editor,
&buffer,
);
}
_ => (),
}