aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/map.h
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-10-12 16:56:52 +0200
committerGitHub <noreply@github.com>2021-10-12 07:56:52 -0700
commit40be47e0faef7aa015eb4ba44ceb1ee1a03e97cf (patch)
treec46f06f4c40d85e308017e379a97fd1aebcebef1 /src/nvim/map.h
parentee342d3cef97aa2414c05261b448228ae3277862 (diff)
downloadrneovim-40be47e0faef7aa015eb4ba44ceb1ee1a03e97cf.tar.gz
rneovim-40be47e0faef7aa015eb4ba44ceb1ee1a03e97cf.tar.bz2
rneovim-40be47e0faef7aa015eb4ba44ceb1ee1a03e97cf.zip
refactor: format all C files under nvim/ #15977
* refactor: format all C files under nvim * refactor: disable formatting for Vim-owned files: * src/nvim/indent_c.c * src/nvim/regexp.c * src/nvim/regexp_nfa.c * src/nvim/testdir/samples/memfile_test.c
Diffstat (limited to 'src/nvim/map.h')
-rw-r--r--src/nvim/map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/map.h b/src/nvim/map.h
index d6515878a2..6ed341ac76 100644
--- a/src/nvim/map.h
+++ b/src/nvim/map.h
@@ -3,11 +3,11 @@
#include <stdbool.h>
-#include "nvim/map_defs.h"
-#include "nvim/extmark_defs.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/dispatch.h"
+#include "nvim/extmark_defs.h"
#include "nvim/highlight_defs.h"
+#include "nvim/map_defs.h"
#if defined(__NetBSD__)
# undef uint64_t
@@ -60,7 +60,7 @@ MAP_DECLS(String, handle_T)
MAP_DECLS(ColorKey, ColorItem)
#define MAP_INIT { { 0, 0, 0, 0, NULL, NULL, NULL } }
-#define map_init(k, v, map) do { *(map) = (Map(k, v))MAP_INIT; } while (false)
+#define map_init(k, v, map) do { *(map) = (Map(k, v)) MAP_INIT; } while (false)
#define map_destroy(T, U) map_##T##_##U##_destroy
#define map_get(T, U) map_##T##_##U##_get