mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
refactor(IWYU): move UI and LineFlags to ui_defs.h (#26318)
This commit is contained in:
@@ -15,10 +15,11 @@
|
||||
#include "nvim/spell.h"
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "lua/spell.c.generated.h" // IWYU pragma: export
|
||||
# include "lua/spell.c.generated.h"
|
||||
#endif
|
||||
|
||||
int nlua_spell_check(lua_State *lstate)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
if (lua_gettop(lstate) < 1) {
|
||||
return luaL_error(lstate, "Expected 1 argument");
|
||||
@@ -99,6 +100,7 @@ static const luaL_Reg spell_functions[] = {
|
||||
};
|
||||
|
||||
int luaopen_spell(lua_State *L)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
lua_newtable(L);
|
||||
luaL_register(L, NULL, spell_functions);
|
||||
|
Reference in New Issue
Block a user