From ec97e86f16a51ba574c449205fa7ad5ccb0d1d22 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Sun, 27 May 2018 13:12:36 -0700 Subject: [PATCH] Add support for running ucg without arguments --- autoload/grep.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/autoload/grep.vim b/autoload/grep.vim index a53e605..e36c9f6 100644 --- a/autoload/grep.vim +++ b/autoload/grep.vim @@ -1,11 +1,11 @@ " File: grep.vim " Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com) " Version: 2.2 -" Last Modified: May 26, 2018 +" Last Modified: May 27, 2018 " " Plugin to integrate grep like utilities with Vim " Supported utilities are: grep, fgrep, egrep, agrep, findstr, ag, ack, -" ripgrep, git grep, sift, platinum searcher and universal code grep +" ripgrep, git grep, sift, platinum searcher and universal code grep. " " License: MIT License " Copyright (c) 2002-2018 Yegappan Lakshmanan @@ -591,7 +591,8 @@ function! s:recursive_search_cmd(cmd_name) \ a:cmd_name == 'rg' || \ a:cmd_name == 'ack' || \ a:cmd_name == 'git' || - \ a:cmd_name == 'pt' + \ a:cmd_name == 'pt' || + \ a:cmd_name == 'ucg' endfunction " formFullCmd()