diff options
author | Kota Kato <github@kat0h.com> | 2023-01-17 18:31:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-17 18:31:56 +0000 |
commit | 66bb9ae70f7371456ed76518076d2a344f8ab417 (patch) | |
tree | 5906d7f03baeb9d2d5fd1c27f4eb7cbc5358f655 /src/evalfunc.c | |
parent | f7d1c6e1884c76680980571f1cf15e0928d247b5 (diff) |
patch 9.0.1212: cannot read back what setcellwidths() has donev9.0.1212
Problem: Cannot read back what setcellwidths() has done.
Solution: Add getcellwidths(). (Kota Kato, closes #11837)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 7639af8b24..923a75024a 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -1953,6 +1953,8 @@ static funcentry_T global_functions[] = ret_string, f_getbufoneline}, {"getbufvar", 2, 3, FEARG_1, arg3_buffer_string_any, ret_any, f_getbufvar}, + {"getcellwidths", 0, 0, 0, NULL, + ret_list_any, f_getcellwidths}, {"getchangelist", 0, 1, FEARG_1, arg1_buffer, ret_list_any, f_getchangelist}, {"getchar", 0, 1, 0, arg1_bool, |