diff options
author | James McCoy <jamessan@jamessan.com> | 2017-02-10 07:22:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-10 07:22:46 -0500 |
commit | 7ed1422521eeebdd57bc79a55f4385767976a9f2 (patch) | |
tree | 5e9c95b603ad62946380e601412a6c9a461c1f55 /src/nvim/if_cscope.c | |
parent | 13ce5fd108123c3ad0ec44f7e0e41b63b2a9974f (diff) | |
parent | 0b81addd0a7210485ef37a49355effc45b47954e (diff) | |
download | rneovim-7ed1422521eeebdd57bc79a55f4385767976a9f2.tar.gz rneovim-7ed1422521eeebdd57bc79a55f4385767976a9f2.tar.bz2 rneovim-7ed1422521eeebdd57bc79a55f4385767976a9f2.zip |
Merge pull request #5904 from lonerover/vim-7.4.2148
vim-patch:7.4.2148,7.4.2159,7.4.2175,7.4.2295
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r-- | src/nvim/if_cscope.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index 0b20647771..9d50058257 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -1294,9 +1294,10 @@ static int cs_kill(exarg_T *eap) } } - if (i >= csinfo_size || csinfo[i].fname == NULL) { - if (p_csverbose) + if (!killall && (i >= csinfo_size || csinfo[i].fname == NULL)) { + if (p_csverbose) { (void)EMSG2(_("E261: cscope connection %s not found"), stok); + } return CSCOPE_FAILURE; } else { if (killall) { |