aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/converter.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2021-11-22 10:57:37 +0100
committerDundar Göc <gocdundar@gmail.com>2021-11-23 10:28:49 +0100
commit849f104c2789c884428fd45501912c6591a78e12 (patch)
tree1906bf49e09896b9215579cb03f1466d2da491d6 /src/nvim/lua/converter.c
parentfd6df7481a88006fd60bc8980b4db1000ddeda27 (diff)
downloadrneovim-849f104c2789c884428fd45501912c6591a78e12.tar.gz
rneovim-849f104c2789c884428fd45501912c6591a78e12.tar.bz2
rneovim-849f104c2789c884428fd45501912c6591a78e12.zip
refactor: upgrade uncrustify config version to 0.74.0
Disable formatting for assert.h since there's a bug that results in a segmentation fault in uncrustify.
Diffstat (limited to 'src/nvim/lua/converter.c')
-rw-r--r--src/nvim/lua/converter.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/lua/converter.c b/src/nvim/lua/converter.c
index 9f2372f831..b6792a5a97 100644
--- a/src/nvim/lua/converter.c
+++ b/src/nvim/lua/converter.c
@@ -782,10 +782,10 @@ void nlua_push_Object(lua_State *lstate, const Object obj, bool special)
break;
}
#define ADD_TYPE(type, data_key) \
-case kObjectType##type: { \
- nlua_push_##type(lstate, obj.data.data_key, special); \
- break; \
-}
+ case kObjectType##type: { \
+ nlua_push_##type(lstate, obj.data.data_key, special); \
+ break; \
+ }
ADD_TYPE(Boolean, boolean)
ADD_TYPE(Integer, integer)
ADD_TYPE(Float, floating)
@@ -794,10 +794,10 @@ case kObjectType##type: { \
ADD_TYPE(Dictionary, dictionary)
#undef ADD_TYPE
#define ADD_REMOTE_TYPE(type) \
-case kObjectType##type: { \
- nlua_push_##type(lstate, (type)obj.data.integer, special); \
- break; \
-}
+ case kObjectType##type: { \
+ nlua_push_##type(lstate, (type)obj.data.integer, special); \
+ break; \
+ }
ADD_REMOTE_TYPE(Buffer)
ADD_REMOTE_TYPE(Window)
ADD_REMOTE_TYPE(Tabpage)