Skip to content

Commit

Permalink
Documentation band aid for g:ack_default_options
Browse files Browse the repository at this point in the history
Refs #152
  • Loading branch information
ches committed Jun 6, 2015
1 parent 386dd46 commit 923507c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions doc/ack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,23 @@ g:ackprg
Default for ubuntu: "ack-grep"
Default for other systems: "ack"

Use this option to specify the ack command and its options
Use this option to specify the search command and its default arguments.

Example:
>
let g:ackprg = "other-bin-ack"
let g:ackprg = "ag --vimgrep"
<

*g:ack_default_options*
g:ack_default_options
Default: " -s -H --nocolor --nogroup --column"

Use this option to specify the options used by ack
Use this option to specify the default arguments given to `ack`. This is only
used if |g:ackprg| has not been customized from the default--if you are using
a custom search program instead of Ack, set your preferred options in
|g:ackprg|.

NOTE: This option may be deprecated in the future. ~

Example:
>
Expand Down

0 comments on commit 923507c

Please sign in to comment.