fixup: use LuaNil instead of deprecated one
This commit is contained in:
parent
d280679b14
commit
40bc84d1f8
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ let
|
|||
inherit (builtins) catAttrs readFile;
|
||||
|
||||
myLib = import ./lib.nix { inherit lib substituteAll; } // {
|
||||
inherit (nix2lua.lib) toLua mkLuaNil;
|
||||
inherit (nix2lua.lib) toLua LuaNil;
|
||||
};
|
||||
|
||||
pluginParams = neovimPlugins // {
|
||||
|
|
|
@ -18,8 +18,8 @@ let
|
|||
orgmodeLuaConfig = lib.optional orgmodeEnable
|
||||
(lib.readSubFile ./nvim-orgmode.lua { inherit orgmodeSettings; });
|
||||
|
||||
colorizerFiletypes = lib.toLua (lib.attrByPath [ "colorizer" "filetypes" ] lib.mkLuaNil plugins);
|
||||
colorizerSettings = lib.toLua (lib.attrByPath [ "colorizer" "settings" ] lib.mkLuaNil plugins);
|
||||
colorizerFiletypes = lib.toLua (lib.attrByPath [ "colorizer" "filetypes" ] lib.LuaNil plugins);
|
||||
colorizerSettings = lib.toLua (lib.attrByPath [ "colorizer" "settings" ] lib.LuaNil plugins);
|
||||
colorizerLuaConfig = lib.readSubFile ./nvim-colorizer.lua
|
||||
{ inherit colorizerFiletypes colorizerSettings; };
|
||||
|
||||
|
|
Reference in a new issue