diff --git a/modules/ui/breadcrumbs/config.nix b/modules/ui/breadcrumbs/config.nix index 38e0703..8ea2d7e 100644 --- a/modules/ui/breadcrumbs/config.nix +++ b/modules/ui/breadcrumbs/config.nix @@ -16,13 +16,9 @@ in { vim.luaConfigRC.breadcrumbs = nvim.dag.entryAfter ["lspconfig"] '' local navbuddy = require("nvim-navbuddy") + local navic = require("nvim-navic") local actions = require("nvim-navbuddy.actions") - require("lspconfig").clangd.setup { - on_attach = function(client, bufnr) - navbuddy.attach(client, bufnr) - end - } navbuddy.setup { window = { @@ -141,7 +137,7 @@ in { ["g?"] = actions.help(), -- Open mappings help window }, lsp = { - auto_attach = false, -- If set to true, you don't need to manually use attach function + auto_attach = true, -- If set to true, you don't need to manually use attach function preference = nil, -- list of lsp server names in order of preference }, source_buffer = {