how to show full path ?
Closed this issue · 4 comments
It's going to show the results via the :cexpr
command or similar, and IIRC it doesn't modify the paths it gets from the underlying search tool. So for example, if the underlying search tool is rg
, it will end up executing a command like rg --vimgrep --no-heading --no-config --max-columns 4096 your-search-pattern
, which will returns results relative to the current working directory.
Getting the search tool to output absolute paths is something I've not looked into; I think most of them probably don't provide an option for it, so you might have to create a wrapper that converts their relative paths to absolute paths. Even if you do that, it's possible that Vim may choose to show the result as relative to the current working directory; I don't know.
Possibly due to this change? romainl/vim-qf@2e385e6
thank you guys. that 's what i looking for. sorry for my expression not so accurately.