mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
build(lint): remove unnecessary clint.py rules
Uncrustify is the source of truth where possible. Remove any redundant checks from clint.py.
This commit is contained in:
@@ -367,18 +367,18 @@ int nlua_xdl_diff(lua_State *lstate)
|
||||
cfg.hunk_func = call_on_hunk_cb;
|
||||
priv = (hunkpriv_t) {
|
||||
.lstate = lstate,
|
||||
.err = &err,
|
||||
.err = &err,
|
||||
};
|
||||
ecb.priv = &priv;
|
||||
break;
|
||||
case kNluaXdiffModeLocations:
|
||||
cfg.hunk_func = hunk_locations_cb;
|
||||
priv = (hunkpriv_t) {
|
||||
.lstate = lstate,
|
||||
.ma = &ma,
|
||||
.mb = &mb,
|
||||
.lstate = lstate,
|
||||
.ma = &ma,
|
||||
.mb = &mb,
|
||||
.linematch = linematch,
|
||||
.iwhite = (params.flags & XDF_IGNORE_WHITESPACE) > 0
|
||||
.iwhite = (params.flags & XDF_IGNORE_WHITESPACE) > 0
|
||||
};
|
||||
ecb.priv = &priv;
|
||||
lua_createtable(lstate, 0, 0);
|
||||
|
Reference in New Issue
Block a user