Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/commands/lsp.rs')
-rw-r--r--helix-term/src/commands/lsp.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs
index 88bd0791..e7ba9f0f 100644
--- a/helix-term/src/commands/lsp.rs
+++ b/helix-term/src/commands/lsp.rs
@@ -21,7 +21,6 @@ use helix_stdx::path;
use helix_view::{
document::{DocumentInlayHints, DocumentInlayHintsId},
editor::Action,
- graphics::Margin,
handlers::lsp::SignatureHelpInvoked,
theme::Style,
Document, View,
@@ -733,15 +732,7 @@ pub fn code_action(cx: &mut Context) {
});
picker.move_down(); // pre-select the first item
- let margin = if editor.menu_border() {
- Margin::vertical(1)
- } else {
- Margin::none()
- };
-
- let popup = Popup::new("code-action", picker)
- .with_scrollbar(false)
- .margin(margin);
+ let popup = Popup::new("code-action", picker).with_scrollbar(false);
compositor.replace_or_push("code-action", popup);
};