mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
*: Fix new linter errors
Originally there were 128 new errors, so I thought this is a good idea to fix all of them. Of course, this commit also fixes many suppressed errors.
This commit is contained in:
@@ -786,9 +786,8 @@ void ml_recover(void)
|
||||
if (fname == NULL) /* When there is no file name */
|
||||
fname = (char_u *)"";
|
||||
len = (int)STRLEN(fname);
|
||||
if (len >= 4 &&
|
||||
STRNICMP(fname + len - 4, ".s", 2)
|
||||
== 0
|
||||
if (len >= 4
|
||||
&& STRNICMP(fname + len - 4, ".s", 2) == 0
|
||||
&& vim_strchr((char_u *)"UVWuvw", fname[len - 2]) != NULL
|
||||
&& ASCII_ISALPHA(fname[len - 1])) {
|
||||
directly = TRUE;
|
||||
|
Reference in New Issue
Block a user