Updated docs and removed redundant code
https://github.com/vim/vim/pull/20847
(5 files)
—
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.![]()
THanks, can you please also update runtime/doc/vim.1 ?
Done
—
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.![]()
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.![]()
Hm, no I am not sure this is quite right yet. The argument parsing loop looks wrong and seems to have some bugs (unless I am missing something):
- Prefix matching:
strncmp(s, "-fn", 3), -bg, -fg match any argument starting with those bytesstrncmp(s, "--prg-name", 8)compares 8 chars instead of 10.- The = form eats an argument. The strip logic sets n_strip = 2 whenever value != NULL, but for the -opt=val form the value is inside the same argv element, so it strips the flag and the following unrelated argument.
- Next arg may be a flag. value = argv[i+1] isn't checked for being another option, so
-fg -geometry 80x24takes -geometry as the colour.
Issues should be fixed now. Used claude for the fix and reviewed it
—
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.![]()