From 859f7eaa709401b384c36d2e6c2ee2e3043dd7a1 Mon Sep 17 00:00:00 2001 From: guns Date: Sat, 7 Apr 2012 17:16:54 -0500 Subject: [PATCH] Fix naked function call --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 7e213b2..0a61f88 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -966,7 +966,7 @@ function! s:Grep(cmd,bang,arg) abort if a:cmd =~# '^l' call setloclist(0, list, 'r') else - setqflist(list, 'r') + call setqflist(list, 'r') endif if !a:bang && !empty(list) return (a:cmd =~# '^l' ? 'l' : 'c').'first'.matchstr(a:arg,'\v\C[''" ]\zs\|.*')