Nvim: switch navic to dropbar

This commit is contained in:
Marko Korhonen 2023-11-21 22:29:51 +02:00
parent b5498c671d
commit 03ffc98988
4 changed files with 4 additions and 12 deletions

View file

@ -44,11 +44,6 @@ end
-- Maps keys and does other needed actions -- Maps keys and does other needed actions
-- when client attaches -- when client attaches
function m.on_attach(client, bufnr) 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 -- Setup keybinds
map_keys() map_keys()
end end

View file

@ -0,0 +1,3 @@
return {
"Bekaboo/dropbar.nvim",
}

View file

@ -2,9 +2,5 @@
return { return {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
dependencies = { "kyazdani42/nvim-web-devicons" }, dependencies = { "kyazdani42/nvim-web-devicons" },
opts = { config = true,
sections = {
lualine_c = { "navic" },
},
},
} }

View file

@ -1,2 +0,0 @@
-- Show code LSP context in winbar
return { "SmiteshP/nvim-navic" }