config/packages/apps/neovim-gtk/popup-huge-padding.patch

14 lines
447 B
Diff
Raw Permalink Normal View History

2022-02-05 21:42:36 +02:00
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());