helpers: remove unused toVimDict

This commit is contained in:
Gaetan Lepage 2024-01-25 14:47:23 +01:00 committed by Gaétan Lepage
parent 97889e309d
commit 598ac0465f

View file

@ -5,11 +5,6 @@ with lib; rec {
autocmd = import ./autocmd-helpers.nix {inherit lib;}; autocmd = import ./autocmd-helpers.nix {inherit lib;};
vim-plugin = import ./vim-plugin.nix {inherit lib mkPackageOption;}; vim-plugin = import ./vim-plugin.nix {inherit lib mkPackageOption;};
# vim dictionaries are, in theory, compatible with JSON
toVimDict = args:
toJSON
(lib.filterAttrs (n: v: v != null) args);
# Black functional magic that converts a bunch of different Nix types to their # Black functional magic that converts a bunch of different Nix types to their
# lua equivalents! # lua equivalents!
toLuaObject = args: toLuaObject = args: