mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
lint
This commit is contained in:
@@ -3129,13 +3129,12 @@ size_t find_ident_at_pos(win_T *wp, linenr_T lnum, colnr_T startcol,
|
||||
}
|
||||
|
||||
if (ptr[col] == NUL || (i == 0 && this_class != 2)) {
|
||||
/*
|
||||
* didn't find an identifier or string
|
||||
*/
|
||||
if (find_type & FIND_STRING)
|
||||
// didn't find an identifier or string
|
||||
if (find_type & FIND_STRING) {
|
||||
EMSG(_("E348: No string under cursor"));
|
||||
else
|
||||
} else {
|
||||
EMSG(_(e_noident));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
ptr += col;
|
||||
|
Reference in New Issue
Block a user