aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/spell.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-03-09 21:19:37 +0100
committerDundar Göc <gocdundar@gmail.com>2022-03-10 09:14:12 +0100
commit7e3bdc75e44b9139d8afaea4381b53ae78b15746 (patch)
tree47547273268e887fa59b5529d6afde46772a7254 /src/nvim/lua/spell.c
parentd0cb8744d84822209edd0ac242f2400c784e6dc5 (diff)
downloadrneovim-7e3bdc75e44b9139d8afaea4381b53ae78b15746.tar.gz
rneovim-7e3bdc75e44b9139d8afaea4381b53ae78b15746.tar.bz2
rneovim-7e3bdc75e44b9139d8afaea4381b53ae78b15746.zip
refactor(uncrustify): format all c files
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)