diff --git a/lua/config/plugins/dropbar.lua b/lua/config/plugins/dropbar.lua index 758c4a2..3c538a9 100644 --- a/lua/config/plugins/dropbar.lua +++ b/lua/config/plugins/dropbar.lua @@ -1,10 +1,4 @@ -vim.api.nvim_create_autocmd({ 'BufReadPost', 'BufNewFile', 'BufWritePost' }, { - once = true, - group = vim.api.nvim_create_augroup('DropBarSetup', {}), - callback = function() - if vim.g.loaded_dropbar then - return - end - require('dropbar').setup() - end, -}) +require('dropbar').setup() +vim.ui.select = require('dropbar.utils.menu').select +vim.api.nvim_set_hl(0, 'DropBarMenuHoverEntry', { link = 'PmenuExtraSel' }) +