mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
lint: cleanup after parent commits
This commit is contained in:
@@ -5130,13 +5130,14 @@ file_name_in_line (
|
||||
* Go one char back to ":" before "//" even when ':' is not in 'isfname'.
|
||||
*/
|
||||
while (ptr > line) {
|
||||
if ((len = (size_t)(utf_head_off(line, ptr - 1))) > 0)
|
||||
if ((len = (size_t)(utf_head_off(line, ptr - 1))) > 0) {
|
||||
ptr -= len + 1;
|
||||
else if (vim_isfilec(ptr[-1])
|
||||
|| ((options & FNAME_HYP) && path_is_url((char *)ptr - 1)))
|
||||
--ptr;
|
||||
else
|
||||
} else if (vim_isfilec(ptr[-1])
|
||||
|| ((options & FNAME_HYP) && path_is_url((char *)ptr - 1))) {
|
||||
ptr--;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user