mirror of
https://github.com/neovim/neovim.git
synced 2025-10-13 05:16:09 +00:00
refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)
This commit is contained in:
@@ -49,7 +49,6 @@ typedef struct {
|
||||
#define LUA_PUSH_STATIC_STRING(lstate, s) \
|
||||
lua_pushlstring(lstate, s, sizeof(s) - 1)
|
||||
|
||||
|
||||
static LuaTableProps nlua_traverse_table(lua_State *const lstate)
|
||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
{
|
||||
@@ -674,7 +673,6 @@ static inline void nlua_create_typed_table(lua_State *lstate, const size_t narr,
|
||||
lua_rawset(lstate, -3);
|
||||
}
|
||||
|
||||
|
||||
/// Convert given String to lua string
|
||||
///
|
||||
/// Leaves converted string on top of the stack.
|
||||
@@ -808,7 +806,6 @@ void nlua_push_Object(lua_State *lstate, const Object obj, bool special)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Convert lua value to string
|
||||
///
|
||||
/// Always pops one value from the stack.
|
||||
@@ -1297,7 +1294,6 @@ void nlua_init_types(lua_State *const lstate)
|
||||
lua_rawset(lstate, -3);
|
||||
}
|
||||
|
||||
|
||||
void nlua_pop_keydict(lua_State *L, void *retval, field_hash hashy, Error *err)
|
||||
{
|
||||
if (!lua_istable(L, -1)) {
|
||||
|
Reference in New Issue
Block a user