mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
dev: make the permanent rendering of breadcrumbs optional
This commit is contained in:
parent
5a2b13c291
commit
260f9e7e8b
2 changed files with 9 additions and 1 deletions
|
@ -55,7 +55,7 @@ in {
|
||||||
"navic",
|
"navic",
|
||||||
color_correction = nil,
|
color_correction = nil,
|
||||||
navic_opts = nil,
|
navic_opts = nil,
|
||||||
draw_empty = true
|
draw_empty = ${toString config.vim.ui.breadcrumbs.alwaysRender}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,6 +8,14 @@ in {
|
||||||
options.vim.ui.breadcrumbs = {
|
options.vim.ui.breadcrumbs = {
|
||||||
enable = lib.mkEnableOption "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 = {
|
navbuddy = {
|
||||||
enable = mkEnableOption "navbuddy LSP UI";
|
enable = mkEnableOption "navbuddy LSP UI";
|
||||||
useDefaultMappings = mkEnableOption "default Navbuddy keybindings (disables user keybinds)";
|
useDefaultMappings = mkEnableOption "default Navbuddy keybindings (disables user keybinds)";
|
||||||
|
|
Loading…
Reference in a new issue