The relevant line-obtaining logic is in grab_file_name().
https://github.com/vim/vim/pull/21034
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
that is not correct. Try editing a new buffer from Vims repo with this content:
:set hidden
src/eval.c:499
place the cursor on it, press gF, Vim jumps to src/eval.c line 499, visual selection the line and pressing gF errors out with
E447: Can't find file "src/eval.c:499" in path
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
With a linewise selection I get the same error as you do.
The visual selection should look like [src/eval.c]:499, i.e., contain the file name and path but not the colon or the line number. Let me know if that works. Maybe I should rephrase the documentation to clarify this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
yeah, then we should clarify this behaviour. Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()