Skip to content

Commit

Permalink
lib: remove toVimBool
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Jan 10, 2025
1 parent 156e349 commit f95ef9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions lib/languages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
inherit (lib.types) bool;
inherit (lib.nvim.attrsets) mapListToAttrs;
in {
# Converts a boolean to a yes/no string. This is used in lots of
# configuration formats, and is not covered by `toLuaObject`
toVimBool = bool:
if bool
then "yes"
else "no";

diagnosticsToLua = {
lang,
config,
Expand Down
2 changes: 0 additions & 2 deletions modules/wrapper/rc/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
inherit (lib.options) mkOption literalMD literalExpression;
inherit (lib.strings) optionalString;
inherit (lib.types) str bool int enum attrsOf lines listOf either path submodule anything;
inherit (lib.trivial) isBool;
inherit (lib.nvim.languages) toVimBool;
inherit (lib.nvim.types) dagOf;
inherit (lib.nvim.lua) listToLuaTable;

Expand Down

0 comments on commit f95ef9c

Please sign in to comment.