Skip to content

Commit f95ef9c

Browse files
committed
lib: remove toVimBool
1 parent 156e349 commit f95ef9c

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

lib/languages.nix

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
inherit (lib.types) bool;
66
inherit (lib.nvim.attrsets) mapListToAttrs;
77
in {
8-
# Converts a boolean to a yes/no string. This is used in lots of
9-
# configuration formats, and is not covered by `toLuaObject`
10-
toVimBool = bool:
11-
if bool
12-
then "yes"
13-
else "no";
14-
158
diagnosticsToLua = {
169
lang,
1710
config,

modules/wrapper/rc/options.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
inherit (lib.options) mkOption literalMD literalExpression;
77
inherit (lib.strings) optionalString;
88
inherit (lib.types) str bool int enum attrsOf lines listOf either path submodule anything;
9-
inherit (lib.trivial) isBool;
10-
inherit (lib.nvim.languages) toVimBool;
119
inherit (lib.nvim.types) dagOf;
1210
inherit (lib.nvim.lua) listToLuaTable;
1311

0 commit comments

Comments
 (0)