mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 08:34:41 +02:00
treewide: consolidate iconsPackage removal and warning
This commit is contained in:
parent
38a183564b
commit
b473bdc5ae
12 changed files with 64 additions and 208 deletions
|
@ -173,17 +173,6 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
]
|
||||
)
|
||||
)
|
||||
# TODO: added 2024-09-20 remove after 24.11
|
||||
(lib.mkRemovedOptionModule
|
||||
[
|
||||
"plugins"
|
||||
"barbar"
|
||||
"iconsPackage"
|
||||
]
|
||||
''
|
||||
Please use `plugins.web-devicons` or `plugins.mini.modules.icons` with `plugins.mini.mockDevIcons` instead.
|
||||
''
|
||||
)
|
||||
]
|
||||
++ (map
|
||||
(
|
||||
|
@ -232,10 +221,6 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
&& config.plugins.mini.mockDevIcons
|
||||
)
|
||||
) { enable = mkOverride 1490 true; };
|
||||
warnings = optional (options.plugins.web-devicons.enable.highestPrio == 1490) ''
|
||||
Nixvim (plugins.barbar) `web-devicons` automatic installation is deprecated.
|
||||
Please use `plugins.web-devicons` or `plugins.mini.modules.icons` with `plugins.mini.mockDevIcons` instead.
|
||||
'';
|
||||
|
||||
keymaps = filter (keymap: keymap != null) (
|
||||
# TODO: switch to `attrValues cfg.keymaps` when removing the deprecation warnings above:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue