lightline: support all options of the official plugin

This commit is contained in:
Pedro Alves 2020-12-31 18:15:19 +00:00
parent 2c9631997f
commit 18d6f8da5f
4 changed files with 99 additions and 3 deletions

6
plugins/helpers.nix Normal file
View file

@ -0,0 +1,6 @@
{ lib, ... }:
{
# vim dictionaries are, in theory, compatible with JSON
toVimDict = args: builtins.toJSON
(lib.filterAttrs (n: v: !builtins.isNull v) args);
}