aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/spell.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-03-11 15:07:49 +0100
committerGitHub <noreply@github.com>2022-03-11 15:07:49 +0100
commitc2ab922f0a6ac2f11ab3d706ca5bc097fdac4dd7 (patch)
tree58a30205195dc158140f6cc4501349cb819ecfe0 /src/nvim/lua/spell.c
parentc3a6ff6aa3be259255976b1178dd07ac876ff124 (diff)
parent7e3bdc75e44b9139d8afaea4381b53ae78b15746 (diff)
downloadrneovim-c2ab922f0a6ac2f11ab3d706ca5bc097fdac4dd7.tar.gz
rneovim-c2ab922f0a6ac2f11ab3d706ca5bc097fdac4dd7.tar.bz2
rneovim-c2ab922f0a6ac2f11ab3d706ca5bc097fdac4dd7.zip
Merge pull request #17663 from dundargoc/refactor/uncrustify
refactor: apply uncrustify
Diffstat (limited to 'src/nvim/lua/spell.c')
-rw-r--r--src/nvim/lua/spell.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/lua/spell.c b/src/nvim/lua/spell.c
index 3a63f61200..31a2b2d19f 100644
--- a/src/nvim/lua/spell.c
+++ b/src/nvim/lua/spell.c
@@ -1,12 +1,12 @@
// This is an open source non-commercial project. Dear PVS-Studio, please check
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
-#include <lua.h>
#include <lauxlib.h>
+#include <lua.h>
+#include "nvim/lua/spell.h"
#include "nvim/spell.h"
#include "nvim/vim.h"
-#include "nvim/lua/spell.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "lua/spell.c.generated.h"
@@ -45,7 +45,7 @@ int nlua_spell_check(lua_State *lstate)
size_t pos = 0;
int capcol = -1;
int no_res = 0;
- const char * result;
+ const char *result;
lua_createtable(lstate, 0, 0);
@@ -90,7 +90,7 @@ int nlua_spell_check(lua_State *lstate)
static const luaL_Reg spell_functions[] = {
{ "check", nlua_spell_check },
- { NULL , NULL }
+ { NULL, NULL }
};
int luaopen_spell(lua_State *L)