lib: remove toVimBool

This commit is contained in:
raf 2025-01-10 11:21:51 +03:00
parent 3825793549
commit ab3a68fe1a
No known key found for this signature in database
GPG key ID: EED98D11B85A2819
2 changed files with 0 additions and 9 deletions

View file

@ -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,

View file

@ -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;