diff options
author | Daniel Hahler <git@thequod.de> | 2019-08-25 20:53:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-25 20:53:17 +0200 |
commit | bec2336231f434948fcd17b35b67584234785996 (patch) | |
tree | c652210623667462a63f8c0432e01ac003a1a72d /src/nvim/option.c | |
parent | c8fc285db60decb020c180622613d3880cbefbfe (diff) | |
download | rneovim-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.c | 1 |
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<". |