treewide: remove deprecated isNull

This commit is contained in:
poz 2025-07-19 00:08:43 +02:00
commit 5592bcff64
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@
inherit (lib.nvim.dag) entryAnywhere;
cfg = config.vim.binds.whichKey;
register = mapAttrsToList (n: v: lib.lists.optional (! isNull v) (mkLuaInline "{ '${n}', desc = '${v}' }")) cfg.register;
register = mapAttrsToList (n: v: lib.lists.optional (v != null) (mkLuaInline "{ '${n}', desc = '${v}' }")) cfg.register;
in {
config = mkIf cfg.enable {
vim = {