mirror of https://github.com/lapce/lapce.git
fix completion resolve
This commit is contained in:
parent
057495d0fe
commit
b6b75c8e8d
|
@ -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)
|
||||
|
|
|
@ -3058,6 +3058,11 @@ fn event(
|
|||
&mut editor_data,
|
||||
env,
|
||||
);
|
||||
data.update_from_editor_buffer_data(
|
||||
editor_data,
|
||||
&editor,
|
||||
&buffer,
|
||||
);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue