Skip to content

Rip doesn't return a number line in vim system()? #1780

Answered by BurntSushi
rickalex21 asked this question in General
Discussion options

You must be logged in to vote

Use -n, just like grep.

When ripgrep is run with a tty, it automatically enables certain options like colors, line numbers and file headings. But when without a tty (like inside vim), it runs more like grep. So just pass the flags you need.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rickalex21
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants