aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-02-06 15:26:24 -0500
committerJames McCoy <jamessan@jamessan.com>2017-02-06 15:26:24 -0500
commit86242841e3c0f7bc87e1dbf9e44e2d1334d672b8 (patch)
treea1aa1cb148449a52daba056e5ae9d761a25ddb6b
parent18404003c4ad684398bb983dc7163fa9c15f29a9 (diff)
downloadrneovim-86242841e3c0f7bc87e1dbf9e44e2d1334d672b8.tar.gz
rneovim-86242841e3c0f7bc87e1dbf9e44e2d1334d672b8.tar.bz2
rneovim-86242841e3c0f7bc87e1dbf9e44e2d1334d672b8.zip
lint
-rw-r--r--src/nvim/normal.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index cca75148b5..5d7a8faeba 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -2698,11 +2698,12 @@ do_mouse (
&& bt_quickfix(curbuf)) {
if (State & INSERT)
stuffcharReadbuff(Ctrl_O);
- if (curwin->w_llist_ref == NULL) /* quickfix window */
+ if (curwin->w_llist_ref == NULL) { // quickfix window
do_cmdline_cmd(".cc");
- else /* location list window */
+ } else { // location list window
do_cmdline_cmd(".ll");
- got_click = false; /* ignore drag&release now */
+ }
+ got_click = false; // ignore drag&release now
}
/*
* Ctrl-Mouse click (or double click in a help window) jumps to the tag