aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-25 20:53:17 +0200
committerGitHub <noreply@github.com>2019-08-25 20:53:17 +0200
commitbec2336231f434948fcd17b35b67584234785996 (patch)
treec652210623667462a63f8c0432e01ac003a1a72d /src/nvim/option.c
parentc8fc285db60decb020c180622613d3880cbefbfe (diff)
downloadrneovim-bec2336231f434948fcd17b35b67584234785996.tar.gz
rneovim-bec2336231f434948fcd17b35b67584234785996.tar.bz2
rneovim-bec2336231f434948fcd17b35b67584234785996.zip
vim-patch:8.1.1913: not easy to compute the space on the command line (#10845)
Problem: Not easy to compute the space on the command line. Solution: Add v:echospace. (Daniel Hahler, closes vim/vim#4732) https://github.com/vim/vim/commit/37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 699f17acc5..c109e4e521 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -5456,6 +5456,7 @@ void comp_col(void)
if (ru_col <= 0) {
ru_col = 1;
}
+ set_vim_var_nr(VV_ECHOSPACE, sc_col - 1);
}
// Unset local option value, similar to ":set opt<".