Mercurial > vim
comparison src/userfunc.c @ 15636:6f1c7e9a6393 v8.1.0826
patch 8.1.0826: too many #ifdefs
commit https://github.com/vim/vim/commit/29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 26 17:28:26 2019 +0100
patch 8.1.0826: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Jan 2019 17:30:15 +0100 |
parents | 6ca8f0350723 |
children | e84eb23f4670 |
comparison
equal
deleted
inserted
replaced
15635:c51d2a06f5f9 | 15636:6f1c7e9a6393 |
---|---|
3176 emsg(_(e_invrange)); | 3176 emsg(_(e_invrange)); |
3177 break; | 3177 break; |
3178 } | 3178 } |
3179 curwin->w_cursor.lnum = lnum; | 3179 curwin->w_cursor.lnum = lnum; |
3180 curwin->w_cursor.col = 0; | 3180 curwin->w_cursor.col = 0; |
3181 #ifdef FEAT_VIRTUALEDIT | |
3182 curwin->w_cursor.coladd = 0; | 3181 curwin->w_cursor.coladd = 0; |
3183 #endif | |
3184 } | 3182 } |
3185 arg = startarg; | 3183 arg = startarg; |
3186 if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg, | 3184 if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg, |
3187 eap->line1, eap->line2, &doesrange, | 3185 eap->line1, eap->line2, &doesrange, |
3188 !eap->skip, partial, fudi.fd_dict) == FAIL) | 3186 !eap->skip, partial, fudi.fd_dict) == FAIL) |