config/packages/apps/neovim-gtk/popup-huge-padding.patch
2022-02-05 20:47:50 +01:00

13 lines
447 B
Diff

diff --git a/src/popup_menu.rs b/src/popup_menu.rs
index 0abb937..9adb7e6 100644
--- a/src/popup_menu.rs
+++ b/src/popup_menu.rs
@@ -100,7 +100,7 @@ impl State {
}
fn limit_column_widths(&self, ctx: &PopupMenuContext) {
- const DEFAULT_PADDING: i32 = 5;
+ const DEFAULT_PADDING: i32 = 30;
let layout = ctx.font_ctx.create_layout();
let kind_exists = ctx.menu_items.iter().any(|i| !i.kind.is_empty());