aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/map.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-09-22 15:25:38 +0200
committerGitHub <noreply@github.com>2021-09-22 06:25:38 -0700
commit48e67b229415b4e2b3315bd00b817e5f9ab970c8 (patch)
tree334596ac20fa458d3966e9dbc5ed7f2478ccbafa /src/nvim/map.c
parentfb6f27e86f2ca2fbff88737251d9e26016a62081 (diff)
downloadrneovim-48e67b229415b4e2b3315bd00b817e5f9ab970c8.tar.gz
rneovim-48e67b229415b4e2b3315bd00b817e5f9ab970c8.tar.bz2
rneovim-48e67b229415b4e2b3315bd00b817e5f9ab970c8.zip
refactor: format with uncrustify #15741
Diffstat (limited to 'src/nvim/map.c')
-rw-r--r--src/nvim/map.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/nvim/map.c b/src/nvim/map.c
index ccd332192e..1c986a4fa4 100644
--- a/src/nvim/map.c
+++ b/src/nvim/map.c
@@ -8,20 +8,18 @@
// khash.h does not make its own copy of the key or value.
//
-#include <stdlib.h>
+#include <lauxlib.h>
+#include <lua.h>
#include <stdbool.h>
+#include <stdlib.h>
#include <string.h>
-#include <lua.h>
-#include <lauxlib.h>
-
+#include "nvim/api/private/dispatch.h"
+#include "nvim/lib/khash.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
-#include "nvim/vim.h"
#include "nvim/memory.h"
-#include "nvim/api/private/dispatch.h"
-
-#include "nvim/lib/khash.h"
+#include "nvim/vim.h"
#define cstr_t_hash kh_str_hash_func
#define cstr_t_eq kh_str_hash_equal
@@ -52,7 +50,7 @@
#define MAP_IMPL(T, U, ...) \
INITIALIZER_DECLARE(T, U, __VA_ARGS__); \
- __KHASH_IMPL(T##_##U##_map,, T, U, 1, T##_hash, T##_eq) \
+ __KHASH_IMPL(T##_##U##_map, , T, U, 1, T##_hash, T##_eq) \
\
void map_##T##_##U##_destroy(Map(T, U) *map) \
{ \