Replace barbecue with dropbar
This commit is contained in:
parent
dce9687cb0
commit
7781b1a2a3
1 changed files with 2 additions and 14 deletions
16
init.lua
16
init.lua
|
@ -667,21 +667,9 @@ require('lazy').setup({
|
|||
}
|
||||
}
|
||||
end},
|
||||
{'SmiteshP/nvim-navic', config = function()
|
||||
au('LspAttach', { callback = function(event)
|
||||
local client = vim.lsp.get_client_by_id(event.data.client_id)
|
||||
if not client then return end
|
||||
if client.server_capabilities.documentSymbolProvider then
|
||||
require'nvim-navic'.attach(client, event.buf)
|
||||
end
|
||||
end })
|
||||
{'Bekaboo/dropbar.nvim', lazy = false, config = function()
|
||||
vim.keymap.set('n', '<M-o>', require'dropbar.api'.pick, { desc = 'Navigate' })
|
||||
end},
|
||||
{'utilyre/barbecue.nvim', opts = {
|
||||
show_modified = true,
|
||||
lead_custom_section = function()
|
||||
return { {' ', 'WinBar'} }
|
||||
end,
|
||||
}},
|
||||
|
||||
-- UI Elements --
|
||||
{'vim-airline/vim-airline', dependencies = {'vim-airline/vim-airline-themes'}, init = function ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue