mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 20:38:18 +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:
@@ -4478,12 +4478,10 @@ syn_cmd_region (
|
||||
if (illegal || not_enough)
|
||||
rest = NULL;
|
||||
|
||||
/*
|
||||
* Must have a "start" and "end" pattern.
|
||||
*/
|
||||
if (rest != NULL && (pat_ptrs[ITEM_START] == NULL ||
|
||||
pat_ptrs[ITEM_END] == NULL)) {
|
||||
not_enough = TRUE;
|
||||
// Must have a "start" and "end" pattern.
|
||||
if (rest != NULL && (pat_ptrs[ITEM_START] == NULL
|
||||
|| pat_ptrs[ITEM_END] == NULL)) {
|
||||
not_enough = true;
|
||||
rest = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user