diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-30 17:16:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 17:16:57 +0800 |
commit | ce56e0a845d68862118f44cb66c5f080e3c1bbed (patch) | |
tree | 3f3b593cb8574a99546b9c8324e840c4aa0451b7 /src/nvim/lua/spell.c | |
parent | 543e0256c19f397921a332e06b423215fd9aecb5 (diff) | |
download | rneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.tar.gz rneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.tar.bz2 rneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.zip |
refactor(IWYU): move UI and LineFlags to ui_defs.h (#26318)
Diffstat (limited to 'src/nvim/lua/spell.c')
-rw-r--r-- | src/nvim/lua/spell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/lua/spell.c b/src/nvim/lua/spell.c index c261c5105e..e6c38ea9cb 100644 --- a/src/nvim/lua/spell.c +++ b/src/nvim/lua/spell.c @@ -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); |