Skip to content

Commit

Permalink
use the system ag path
Browse files Browse the repository at this point in the history
  • Loading branch information
gabesoft committed Mar 17, 2015
1 parent 02ae734 commit 2645f70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion autoload/ags/run.vim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
" Default ag executable path
let s:exe = '/usr/local/bin/ag'
let s:exe = 'ag'

" Last command
let s:last = ''
Expand Down
6 changes: 3 additions & 3 deletions plugin/ags.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ if exists('g:loaded_ags') || &cp || v:version < 700 | finish | endif

let g:loaded_ags = 1

if !exists('g:ags_agexe') | let g:ags_agexe = '/usr/local/bin/ag' | endif
if !exists('g:ags_agmaxcount') | let g:ags_agmaxcount = 2000 | endif
if !exists('g:ags_agcontext') | let g:ags_agcontext = 3 | endif
if !exists('g:ags_agexe') | let g:ags_agexe = 'ag' | endif
if !exists('g:ags_agmaxcount') | let g:ags_agmaxcount = 2000 | endif
if !exists('g:ags_agcontext') | let g:ags_agcontext = 3 | endif

if !exists('g:ags_agargs')
" Predefined search arguments
Expand Down

0 comments on commit 2645f70

Please sign in to comment.