Merge pull request #6063 from jamessan/vim-8.0.0208

vim-patch:8.0.0208
This commit is contained in:
James McCoy 2017-02-06 18:40:05 -05:00 committed by GitHub
commit 7c0d091404
2 changed files with 7 additions and 6 deletions

View File

@ -800,7 +800,7 @@ static int insert_handle_key(InsertState *s)
if (!p_im) {
goto normalchar; // insert CTRL-Z as normal char
}
stuffReadbuff((char_u *)":st\r");
do_cmdline_cmd("stop");
s->c = Ctrl_O;
// FALLTHROUGH

View File

@ -2698,11 +2698,12 @@ do_mouse (
&& bt_quickfix(curbuf)) {
if (State & INSERT)
stuffcharReadbuff(Ctrl_O);
if (curwin->w_llist_ref == NULL) /* quickfix window */
stuffReadbuff((char_u *)":.cc\n");
else /* location list window */
stuffReadbuff((char_u *)":.ll\n");
got_click = false; /* ignore drag&release now */
if (curwin->w_llist_ref == NULL) { // quickfix window
do_cmdline_cmd(".cc");
} else { // location list window
do_cmdline_cmd(".ll");
}
got_click = false; // ignore drag&release now
}
/*
* Ctrl-Mouse click (or double click in a help window) jumps to the tag