diff options
author | Blaž Hrastnik | 2020-12-23 07:20:49 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-12-23 07:20:49 +0000 |
commit | 56f2193811fca2fa20284442c2042fa271464445 (patch) | |
tree | 1ec99141a70b484f1fbcf0594e5aea61138cd097 /helix-term/src/ui | |
parent | 955cb81687db139422875d02b534d753dac5603f (diff) |
Retrieve completion options on ctrl-x.
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r-- | helix-term/src/ui/editor.rs | 1 | ||||
-rw-r--r-- | helix-term/src/ui/picker.rs | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 1bab2eef..25221922 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -263,6 +263,7 @@ impl Component for EditorView { let mut cx = commands::Context { view, executor: cx.executor, + language_servers: cx.language_servers, count: 1, callback: None, }; diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index d4e4d46d..a46886ee 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -196,12 +196,13 @@ impl<T> Component for Picker<T> { // -- Render the frame: - // clear area + // clear area let background = cx.editor.theme.get("ui.background"); for y in area.top()..area.bottom() { for x in area.left()..area.right() { let cell = surface.get_mut(x, y); - cell.symbol.clear(); + cell.reset(); + // cell.symbol.clear(); cell.set_style(background); } } |