Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS 10.13 or MacVim related issue #10

Open
pirminis opened this issue Sep 29, 2017 · 1 comment
Open

macOS 10.13 or MacVim related issue #10

pirminis opened this issue Sep 29, 2017 · 1 comment

Comments

@pirminis
Copy link

On macOS 10.13 and MacVim 8.0.1155 (137) vim-ripgrep has changed behaviour.

The old correct way to search:

:Rg "search_term"

results are found and (optionally) highlighted.

The current situation:

:Rg "search_term"

MacVim hangs up. So I use this, and it works:

:Rg "search_term" .

results are found, however, the highlighting pattern is not "search_term" anymore, but "search_term .", hence wrong highlighting is used.

can you help me find out why has vim-ripgrep behaviour changed after updating from macOS 10.12 to 10.13? or is it MacVim's problem? reverting MacVim doesn't do the trick, so that's that.

command line vim (8.0) does not have this issue.

relevant .vimrc rg configuration:

let g:rg_binary = "/usr/local/bin/rg"
let g:rg_highlight = 1
let g:rg_format = "%f:%l:%c:%m"
let g:rg_command = g:rg_binary . " --vimgrep --follow -i -j1 -e"
let g:rg_derive_root = 1

oh, btw, :RgRoot shows correct directory.

@jremmen

@jremmen
Copy link
Owner

jremmen commented Mar 12, 2018

@pirminis Did you find a solution to the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants