From 2b0f8bf9ae0dd6496feb43bc34aef1af29dcd9bd Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 16 May 2023 22:54:29 +0200 Subject: Add dynamic harpoon menu width --- fnl/plugins/editor/harpoon.fnl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fnl/plugins/editor/harpoon.fnl') diff --git a/fnl/plugins/editor/harpoon.fnl b/fnl/plugins/editor/harpoon.fnl index 876386e..167cf3b 100644 --- a/fnl/plugins/editor/harpoon.fnl +++ b/fnl/plugins/editor/harpoon.fnl @@ -17,7 +17,8 @@ {}) (vim.keymap.set :n : "Telescope buffers theme=dropdown previewer=false initial_mode=normal" - {})) + {}) + {:menu {:width (- (vim.api.nvim_win_get_width 0) 4)}}) {1 :ThePrimeagen/harpoon :event :BufReadPost -- cgit v1.2.3-70-g09d2