Closed e190 closed 4 years ago
Looks like this is MS Windows. I can't officially support windows since I don't have a windows system for testing, unfortunately. I am happy to fix this or accept a PR if we can find the source of the problem though.
The main problem seems to be that the file name isn't recognized. The heading should be File: .\path\to\file.el
if it was recognized correctly. The file names are detected with the color codes exported by the ripgrep
binary so I suspect that your binary outputs non standard color codes.
Maybe this is a windows issue or could also be a ripgrep version issue. The matches seems to be higligted correctly so it partly works at least.
rg --version
invokation?rg <some-search-with-matches> --heading --color=always
rg
with the universal argument (C-u
) and add --colors path:fg:magenta
to the command line and see if that fixes the problem.package: rg-20190925.543
Ok, so the file headings are blue instead of magenta. Have you configured this globally or is this a windows thing? Anyway, this can be fixed by letting this package be more explicit about the colors that is needed. I will prepare a fix.
I'm now setting path, which is a problem with Windows 7 and works fine with Linux.
Should be fixed on master now. Please let me know if the issue remains.
awesome.Your patch fixes our problem.So Thanks .
I don't know why the bottom window what's "unknown" always appears when you open one of these options