mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +02:00
lib/lua: refactor toLuaObject, now configurable
Heavily based on nixpkgs lib.generators.toPretty
This commit is contained in:
parent
cd479ec0ef
commit
aff12581d8
3 changed files with 194 additions and 62 deletions
|
@ -26,7 +26,7 @@ rec {
|
|||
};
|
||||
vim-plugin = import ./vim-plugin.nix { inherit lib nixvimOptions nixvimUtils; };
|
||||
inherit nixvimTypes;
|
||||
inherit (lua) toLuaObject;
|
||||
toLuaObject = lua.toLua;
|
||||
}
|
||||
// nixvimUtils
|
||||
// nixvimOptions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue