Remove equals sign from get (#4384)

This should allow users to more easily turn it into a :set
This commit is contained in:
Oliver Blanthorn 2022-10-04 11:15:01 +02:00
parent 4ec0e5eb61
commit 8a35150e1d
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -4825,9 +4825,9 @@ export function get(...keys: string[]) {
console.log(value)
let done
if (typeof value === "object") {
done = fillcmdline_notrail(`# ${keys.join(".")} = ${JSON.stringify(value)}`)
done = fillcmdline_notrail(`# ${keys.join(".")} ${JSON.stringify(value)}`)
} else {
done = fillcmdline_notrail(`# ${keys.join(".")} = ${value}`)
done = fillcmdline_notrail(`# ${keys.join(".")} ${value}`)
}
return done
}