summaryrefslogtreecommitdiffstats
path: root/complete
diff options
context:
space:
mode:
authorBalaji Sivaraman <balaji@balajisivaraman.com>2018-01-01 19:30:31 +0530
committerAndrew Gallant <jamslam@gmail.com>2018-01-01 09:00:31 -0500
commitba1023e1e45d7bd6edffa43d06c9613d3b84de8f (patch)
tree4fee4b0b3ef368344713e5fcac8e75593337d543 /complete
parent5e73075ef5300fdec03f6c4685750788108b00f4 (diff)
printer: add support for line number alignment
Closes #544
Diffstat (limited to 'complete')
-rw-r--r--complete/_rg1
1 files changed, 1 insertions, 0 deletions
diff --git a/complete/_rg b/complete/_rg
index cd5b5ac6..93ab4ae8 100644
--- a/complete/_rg
+++ b/complete/_rg
@@ -45,6 +45,7 @@ _rg() {
'--ignore-file=[specify additional ignore file]:file:_files'
'(-v --invert-match)'{-v,--invert-match}'[invert matching]'
'(-n -N --line-number --no-line-number)'{-n,--line-number}'[show line numbers]'
+ '(-N --no-line-number)--line-number-width=[specify width of displayed line number]:number of columns'
'(-w -x --line-regexp --word-regexp)'{-x,--line-regexp}'[only show matches surrounded by line boundaries]'
'(-M --max-columns)'{-M+,--max-columns=}'[specify max length of lines to print]:number of bytes'
'(-m --max-count)'{-m+,--max-count=}'[specify max number of matches per file]:number of matches'