Skip to content

Commit

Permalink
refactor(menu): rename win_config -> win_configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekaboo committed Jan 18, 2025
1 parent d2792fc commit 75c5846
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/dropbar/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -974,17 +974,17 @@ function dropbar_menu_t:fuzzy_find_open(opts)
vim.bo[buf].filetype = 'dropbar_menu_fzf'
vim.bo[buf].bufhidden = 'wipe'

local win_config = self:merge_win_configs(
local win_configs = self:merge_win_configs(
self.win_configs,
self.fzf_win_configs,
opts.win_configs
)

-- don't show title in the fzf window
win_config.title = nil
win_config.title_pos = nil
win_configs.title = nil
win_configs.title_pos = nil

local win = vim.api.nvim_open_win(buf, false, win_config)
local win = vim.api.nvim_open_win(buf, false, win_configs)
vim.wo[win].stc = opts.prompt
_G.dropbar.menus[win] = self
self.fzf_state = utils.fzf.fzf_state_t:new(self, win, opts)
Expand Down

0 comments on commit 75c5846

Please sign in to comment.