Nvim: switch navic to dropbar
This commit is contained in:
parent
b5498c671d
commit
03ffc98988
4 changed files with 4 additions and 12 deletions
|
@ -44,11 +44,6 @@ end
|
|||
-- Maps keys and does other needed actions
|
||||
-- when client attaches
|
||||
function m.on_attach(client, bufnr)
|
||||
-- Attach navic if document symbols are available
|
||||
if client.server_capabilities.documentSymbolProvider then
|
||||
require("nvim-navic").attach(client, bufnr)
|
||||
end
|
||||
|
||||
-- Setup keybinds
|
||||
map_keys()
|
||||
end
|
||||
|
|
3
home/.config/nvim/lua/plugins/dropbar.lua
Normal file
3
home/.config/nvim/lua/plugins/dropbar.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"Bekaboo/dropbar.nvim",
|
||||
}
|
|
@ -2,9 +2,5 @@
|
|||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
dependencies = { "kyazdani42/nvim-web-devicons" },
|
||||
opts = {
|
||||
sections = {
|
||||
lualine_c = { "navic" },
|
||||
},
|
||||
},
|
||||
config = true,
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
-- Show code LSP context in winbar
|
||||
return { "SmiteshP/nvim-navic" }
|
Loading…
Add table
Add a link
Reference in a new issue