mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-18 11:39:47 +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.types) bool;
|
||||||
inherit (lib.nvim.attrsets) mapListToAttrs;
|
inherit (lib.nvim.attrsets) mapListToAttrs;
|
||||||
in {
|
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 = {
|
diagnosticsToLua = {
|
||||||
lang,
|
lang,
|
||||||
config,
|
config,
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
inherit (lib.options) mkOption literalMD literalExpression;
|
inherit (lib.options) mkOption literalMD literalExpression;
|
||||||
inherit (lib.strings) optionalString;
|
inherit (lib.strings) optionalString;
|
||||||
inherit (lib.types) str bool int enum attrsOf lines listOf either path submodule anything;
|
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.types) dagOf;
|
||||||
inherit (lib.nvim.lua) listToLuaTable;
|
inherit (lib.nvim.lua) listToLuaTable;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue