mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
vim-patch:8.0.0451: some macros are in lower case
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
91acfffc1e
This commit is contained in:
@@ -5101,11 +5101,13 @@ file_name_in_line (
|
||||
* search forward for what could be the start of a file name
|
||||
*/
|
||||
ptr = line + col;
|
||||
while (*ptr != NUL && !vim_isfilec(*ptr))
|
||||
mb_ptr_adv(ptr);
|
||||
if (*ptr == NUL) { /* nothing found */
|
||||
if (options & FNAME_MESS)
|
||||
while (*ptr != NUL && !vim_isfilec(*ptr)) {
|
||||
MB_PTR_ADV(ptr);
|
||||
}
|
||||
if (*ptr == NUL) { // nothing found
|
||||
if (options & FNAME_MESS) {
|
||||
EMSG(_("E446: No file name under cursor"));
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user