mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 09:18:38 +02:00
lightline: support all options of the official plugin
This commit is contained in:
parent
2c9631997f
commit
18d6f8da5f
4 changed files with 99 additions and 3 deletions
6
plugins/helpers.nix
Normal file
6
plugins/helpers.nix
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue