mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
fix(helpers): use "__unkeyed" prefix instead of "@" in toLuaObject
(#632)
This commit is contained in:
parent
258acc56a9
commit
934bf7e2e3
6 changed files with 15 additions and 15 deletions
|
@ -144,7 +144,7 @@ in {
|
|||
(k: v: {
|
||||
name =
|
||||
if k == "name"
|
||||
then "@"
|
||||
then "__unkeyed"
|
||||
else k;
|
||||
value = v;
|
||||
})
|
||||
|
@ -155,7 +155,7 @@ in {
|
|||
pluginToLua = plugin:
|
||||
if isAttrs plugin
|
||||
then {
|
||||
"@" = plugin.name;
|
||||
"__unkeyed" = plugin.name;
|
||||
|
||||
inherit (plugin) disable as;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue