diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-23 20:58:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-23 20:58:45 +0200 |
commit | 37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c (patch) | |
tree | bed00affbe1920deeeb36b270db9c3b076694c0f /src/option.c | |
parent | 570497ac409ad448574bb6210cb9c6e573483759 (diff) | |
download | vim-git-37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c.tar.gz |
patch 8.1.1913: not easy to compute the space on the command linev8.1.1913
Problem: Not easy to compute the space on the command line.
Solution: Add v:echospace. (Daniel Hahler, closes #4732)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index 6d3a059cc..215d48a09 100644 --- a/src/option.c +++ b/src/option.c @@ -10881,6 +10881,9 @@ comp_col(void) sc_col = Columns; ru_col = Columns; #endif +#ifdef FEAT_EVAL + set_vim_var_nr(VV_ECHOSPACE, sc_col - 1); +#endif } #if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3) || defined(PROTO) |