vim: Empty pane improvements (#13624)
Release Notes: - vim: Fixed `:` in empty diagnostics view - vim: Fixed `g/` outside of an editor
This commit is contained in:
parent
97159bd88d
commit
363ac6bc96
3 changed files with 256 additions and 64 deletions
|
@ -102,6 +102,9 @@ impl Render for ProjectDiagnosticsEditor {
|
|||
|
||||
div()
|
||||
.track_focus(&self.focus_handle)
|
||||
.when(self.path_states.is_empty(), |el| {
|
||||
el.key_context("EmptyPane")
|
||||
})
|
||||
.size_full()
|
||||
.on_action(cx.listener(Self::toggle_warnings))
|
||||
.child(child)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue