Closed reegnz closed 1 month ago
I think I've identified the issue: https://github.com/chrishrb/gx.nvim/blob/ea543829d7eb36c9bf80e43d7a27bd326bb8d3ed/lua/gx/git.lua#L23
With vim-fugitive's :G log
this is a temporary file.
Nonetheless the handler should still work within a vim fugitive temp buffer displaying a git log.
I Propose that the plugin should fall back to the current working directory for path if it fails to discover a git remote on the current path.
To reproduce:
:G log
gx
Expected:
Actual: I get prompted with the following message:
And then the plugin continues to open a google search with the text.