feat: reduce dropbar config

This commit is contained in:
doryan 2024-12-14 02:53:56 +04:00
parent bbd28672d5
commit 8f0c29527d

View File

@ -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,
})
vim.ui.select = require('dropbar.utils.menu').select
vim.api.nvim_set_hl(0, 'DropBarMenuHoverEntry', { link = 'PmenuExtraSel' })