mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-18 05:49:49 +01:00
lib: remove toVimBool
This commit is contained in:
parent
3825793549
commit
ab3a68fe1a
2 changed files with 0 additions and 9 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue