6 lines
168 B
Nix
6 lines
168 B
Nix
{ lib, ... }:
|
|
{
|
|
# vim dictionaries are, in theory, compatible with JSON
|
|
toVimDict = args: builtins.toJSON
|
|
(lib.filterAttrs (n: v: !builtins.isNull v) args);
|
|
}
|