create: Pass editor arguments from newContentEditor correctly
authorBhavin Gandhi <bhavin7392@gmail.com>
Thu, 15 Oct 2020 15:23:48 +0000 (20:53 +0530)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 24 Oct 2020 18:34:03 +0000 (20:34 +0200)
commitd48a98c477a818d28008d9771050d2681e63e880
tree4ab0c6862cbf18d4e7e1609ccf438a979fce6740
parent3261678f63fd66810db77ccaf9a0c0e426be5380
create: Pass editor arguments from newContentEditor correctly

If newContentEditor has editor name with arguments like `emacsclient
-n`, it fails with `executable file not found in $PATH`. This change
parses the value correctly and passes it to the given editor.

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
create/content.go