Mercurial > vim
diff src/proto/ex_getln.pro @ 10120:fb040c9d8ce9 v7.4.2331
commit https://github.com/vim/vim/commit/33a80eeb859a78ba93432da6fa585786cfd77249
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 5 21:51:14 2016 +0200
patch 7.4.2331
Problem: Using CTRL-X CTRL-V to complete a command line from Insert mode
does not work after entering an expression on the command line.
Solution: Don't use "ccline" when not actually using a command line. (test
by Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 05 Sep 2016 22:00:06 +0200 |
parents | 7fc6103c6651 |
children | 32aed0993813 |
line wrap: on
line diff
--- a/src/proto/ex_getln.pro +++ b/src/proto/ex_getln.pro @@ -30,7 +30,7 @@ char_u *vim_strsave_fnameescape(char_u * void tilde_replace(char_u *orig_pat, int num_files, char_u **files); char_u *sm_gettail(char_u *s); char_u *addstar(char_u *fname, int len, int context); -void set_cmd_context(expand_T *xp, char_u *str, int len, int col); +void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline); int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches); int ExpandGeneric(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)), int escaped); void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options);