aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-06-11 22:12:32 +0800
committerGitHub <noreply@github.com>2023-06-11 22:12:32 +0800
commitbde59e81473f29944ef80ff98f6b2c88010b2df6 (patch)
tree95462bacec741f2b820f25cc37ac66303f6e9248 /src
parentdcb341315a7d8490685036122a3ac2a09499a245 (diff)
downloadrneovim-bde59e81473f29944ef80ff98f6b2c88010b2df6.tar.gz
rneovim-bde59e81473f29944ef80ff98f6b2c88010b2df6.tar.bz2
rneovim-bde59e81473f29944ef80ff98f6b2c88010b2df6.zip
fix(remote): restore previous --remote-expr output formatting (#23988)
- Use tostring() as that's what print() uses internally. - Do not append trailing new line.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 6a02aa3dae..6ab7391b05 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -967,7 +967,6 @@ static void remote_request(mparm_T *params, int remote_args, char *server_addr,
os_exit(2);
}
os_msg(rvobj.data.dictionary.items[i].value.data.string.data);
- os_msg("\n");
} else if (strequal(rvobj.data.dictionary.items[i].key.data, "tabbed")) {
if (rvobj.data.dictionary.items[i].value.type != kObjectTypeBoolean) {
os_errmsg("vim._cs_remote returned an unexpected type for 'tabbed'\n");