tree: add clang-format off labels

When I figure out how to make clang-format ignore struct array
initialisers, I'll get rid of this.
This commit is contained in:
Jeremy Baxter 2024-03-12 12:19:23 +13:00
parent 3c53685e4a
commit 669eb3fd28
5 changed files with 11 additions and 1 deletions

View file

@ -94,6 +94,8 @@ environ_newindex(lua_State *L)
return 0;
}
/* clang-format off */
static const luaL_Reg mt[] = {
{"__index", environ_index},
{"__newindex", environ_newindex},