Compare commits

..

No commits in common. "68ca227a8767f2141e839b94a8137fa22965184c" and "af72dc105d9aaef1d20e1dc36e6add4d18c60951" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -19,8 +19,6 @@ Release notes for release 0.7
[horriblename](https://github.com/horriblename):
- Fix broken treesitter-context keybinds in visual mode
- Depcrecate use of `__empty` to define empty tables in lua. Empty attrset are
no longer filtered and thus should be used instead.
[NotAShelf](https://github.com/notashelf)

View File

@ -3,7 +3,7 @@
inherit (builtins) hasAttr head throw typeOf isList isAttrs isBool isInt isString isPath isFloat toJSON;
inherit (lib.attrsets) mapAttrsToList filterAttrs;
inherit (lib.strings) concatStringsSep concatMapStringsSep stringToCharacters;
inherit (lib.trivial) boolToString warn;
inherit (lib.trivial) boolToString;
in rec {
wrapLuaConfig = {
luaBefore ? "",
@ -65,11 +65,6 @@ in rec {
then
if isLuaInline args
then args.expr
else if hasAttr "__empty" args
then
warn ''
Using `__empty` to define an empty lua table is deprecated. Use an empty attrset instead.
'' "{ }"
else
"{"
+ (concatStringsSep ","