浏览代码

Properly set rg for use in grep

Thomas Dy 8 年之前
父节点
当前提交
fe753a95c6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .vimrc

+ 1 - 1
.vimrc

@@ -65,7 +65,7 @@ let g:airline_right_sep=''
 if executable('rg')
   let g:unite_source_rec_async_command =
         \ ['rg', '--follow', '--hidden', '--files']
-  let g:unite_source_grep_command = 'ag'
+  let g:unite_source_grep_command = 'rg'
   let g:unite_source_grep_default_opts = '-i --vimgrep --hidden'
   let g:unite_source_grep_recursive_opt = ''
 elseif executable('ag')