diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2021-10-19 06:51:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 06:51:42 -0700 |
commit | aac15cf4ade5cb67000abe171ff8e2060b78907e (patch) | |
tree | cc91a6759c739044a5a338bc938cfa033d7273ac /src/nvim/lua/xdiff.c | |
parent | 29b718d04c474433977e952ac7f3561041f3bda0 (diff) | |
parent | 6059784770c4c88fb6fe528b9f7634192fa1164e (diff) | |
download | rneovim-aac15cf4ade5cb67000abe171ff8e2060b78907e.tar.gz rneovim-aac15cf4ade5cb67000abe171ff8e2060b78907e.tar.bz2 rneovim-aac15cf4ade5cb67000abe171ff8e2060b78907e.zip |
Merge #16000 refactor: uncrustify
Diffstat (limited to 'src/nvim/lua/xdiff.c')
-rw-r--r-- | src/nvim/lua/xdiff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/lua/xdiff.c b/src/nvim/lua/xdiff.c index 3955fbe72c..7eda9b6270 100644 --- a/src/nvim/lua/xdiff.c +++ b/src/nvim/lua/xdiff.c @@ -62,7 +62,7 @@ static int hunk_locations_cb(long start_a, long count_a, long start_b, long coun start_b += 1; } - lua_State * lstate = (lua_State *)cb_data; + lua_State *lstate = (lua_State *)cb_data; lua_createtable(lstate, 0, 0); lua_pushinteger(lstate, start_a); @@ -93,7 +93,7 @@ static int call_on_hunk_cb(long start_a, long count_a, long start_b, long count_ } hunkpriv_t *priv = (hunkpriv_t *)cb_data; - lua_State * lstate = priv->lstate; + lua_State *lstate = priv->lstate; Error *err = priv->err; const int fidx = lua_gettop(lstate); lua_pushvalue(lstate, fidx); @@ -133,7 +133,7 @@ static mmfile_t get_string_arg(lua_State *lstate, int idx) static bool check_xdiff_opt(ObjectType actType, ObjectType expType, const char *name, Error *err) { if (actType != expType) { - const char * type_str = + const char *type_str = expType == kObjectTypeString ? "string" : expType == kObjectTypeInteger ? "integer" : expType == kObjectTypeBoolean ? "boolean" : |