diff --git a/modules/statusline/lualine/config.nix b/modules/statusline/lualine/config.nix index 30503abe..2f8b9624 100644 --- a/modules/statusline/lualine/config.nix +++ b/modules/statusline/lualine/config.nix @@ -54,7 +54,8 @@ in { { "navic", color_correction = nil, - navic_opts = nil + navic_opts = nil, + draw_empty = ${toString config.vim.ui.breadcrumbs.alwaysRender} } } }, diff --git a/modules/ui/breadcrumbs/breadcrumbs.nix b/modules/ui/breadcrumbs/breadcrumbs.nix index b8246741..a14bc5f2 100644 --- a/modules/ui/breadcrumbs/breadcrumbs.nix +++ b/modules/ui/breadcrumbs/breadcrumbs.nix @@ -8,6 +8,14 @@ in { options.vim.ui.breadcrumbs = { enable = lib.mkEnableOption "breadcrumbs"; + # maybe this should be an option to *disable* alwaysRender optionally but oh well + # too late + alwaysRender = mkOption { + type = types.bool; + default = true; + description = "Whether to always display the breadcrumbs component on winbar (always renders winbar)"; + }; + navbuddy = { enable = mkEnableOption "navbuddy LSP UI"; useDefaultMappings = mkEnableOption "default Navbuddy keybindings (disables user keybinds)";