mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-09 03:56:05 +01:00
helpers/toLuaObject: fix rawKey handling
This commit is contained in:
parent
1bbd58b6b2
commit
d15fade62b
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ rec {
|
||||||
if hasPrefix "__unkeyed" n then
|
if hasPrefix "__unkeyed" n then
|
||||||
valueString
|
valueString
|
||||||
else if hasPrefix "__rawKey__" n then
|
else if hasPrefix "__rawKey__" n then
|
||||||
"[${n}] = " + valueString
|
''[${removePrefix "__rawKey__" n}] = '' + valueString
|
||||||
else if n == "__emptyString" then
|
else if n == "__emptyString" then
|
||||||
"[''] = " + valueString
|
"[''] = " + valueString
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue