Skip to content

Commit

Permalink
helpers: remove unused toVimDict
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 25, 2024
1 parent 97889e3 commit 598ac04
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/helpers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ with lib; rec {
autocmd = import ./autocmd-helpers.nix {inherit lib;};
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
# lua equivalents!
toLuaObject = args:
Expand Down

0 comments on commit 598ac04

Please sign in to comment.