feat: reduce dropbar config
This commit is contained in:
parent
bbd28672d5
commit
8f0c29527d
|
@ -1,10 +1,4 @@
|
||||||
vim.api.nvim_create_autocmd({ 'BufReadPost', 'BufNewFile', 'BufWritePost' }, {
|
require('dropbar').setup()
|
||||||
once = true,
|
vim.ui.select = require('dropbar.utils.menu').select
|
||||||
group = vim.api.nvim_create_augroup('DropBarSetup', {}),
|
vim.api.nvim_set_hl(0, 'DropBarMenuHoverEntry', { link = 'PmenuExtraSel' })
|
||||||
callback = function()
|
|
||||||
if vim.g.loaded_dropbar then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
require('dropbar').setup()
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
Loading…
Reference in New Issue