mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 14:45:58 +01:00
Compare commits
3 commits
af72dc105d
...
68ca227a87
Author | SHA1 | Date | |
---|---|---|---|
|
68ca227a87 | ||
|
69257c03a3 | ||
|
ac20dfbdd4 |
2 changed files with 8 additions and 1 deletions
|
@ -19,6 +19,8 @@ Release notes for release 0.7
|
||||||
[horriblename](https://github.com/horriblename):
|
[horriblename](https://github.com/horriblename):
|
||||||
|
|
||||||
- Fix broken treesitter-context keybinds in visual mode
|
- 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)
|
[NotAShelf](https://github.com/notashelf)
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
inherit (builtins) hasAttr head throw typeOf isList isAttrs isBool isInt isString isPath isFloat toJSON;
|
inherit (builtins) hasAttr head throw typeOf isList isAttrs isBool isInt isString isPath isFloat toJSON;
|
||||||
inherit (lib.attrsets) mapAttrsToList filterAttrs;
|
inherit (lib.attrsets) mapAttrsToList filterAttrs;
|
||||||
inherit (lib.strings) concatStringsSep concatMapStringsSep stringToCharacters;
|
inherit (lib.strings) concatStringsSep concatMapStringsSep stringToCharacters;
|
||||||
inherit (lib.trivial) boolToString;
|
inherit (lib.trivial) boolToString warn;
|
||||||
in rec {
|
in rec {
|
||||||
wrapLuaConfig = {
|
wrapLuaConfig = {
|
||||||
luaBefore ? "",
|
luaBefore ? "",
|
||||||
|
@ -65,6 +65,11 @@ in rec {
|
||||||
then
|
then
|
||||||
if isLuaInline args
|
if isLuaInline args
|
||||||
then args.expr
|
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
|
else
|
||||||
"{"
|
"{"
|
||||||
+ (concatStringsSep ","
|
+ (concatStringsSep ","
|
||||||
|
|
Loading…
Reference in a new issue