rking / ag.vim

Vim plugin for the_silver_searcher, 'ag', a replacement for the Perl module / CLI script 'ack'
1.74k stars 131 forks source link

Add user customizable function for searching for the project root. #127

Open tplunket opened 8 years ago

tplunket commented 8 years ago

When g:ag_working_path_mode is 'r', this PR adds the allowance for a user to customize the function to be used to determine what the project root is. The default search looks up the directory hierarchy for a fixed list of file and directory names which may not suit all users so those with special requirements can provide their own method.