aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-11-26 17:25:35 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-26 22:15:53 +0100
commit71141e8cf5dfaf5d17610dba57f0e0f319a4850e (patch)
tree66fd0efa6472c6887e06063be77f2e365fa57485 /src/nvim
parent27fc11c0486354ce23ceb57649f22aedbfe2d48b (diff)
downloadrneovim-71141e8cf5dfaf5d17610dba57f0e0f319a4850e.tar.gz
rneovim-71141e8cf5dfaf5d17610dba57f0e0f319a4850e.tar.bz2
rneovim-71141e8cf5dfaf5d17610dba57f0e0f319a4850e.zip
build(IWYU): fix headers for arabic.h
Diffstat (limited to 'src/nvim')
-rw-r--r--src/nvim/arabic.h4
-rw-r--r--src/nvim/arabic_defs.h3
-rw-r--r--src/nvim/event/libuv_process.c1
-rw-r--r--src/nvim/spellsuggest.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/arabic.h b/src/nvim/arabic.h
index 2d09531331..9b3c5b6cee 100644
--- a/src/nvim/arabic.h
+++ b/src/nvim/arabic.h
@@ -1,8 +1,6 @@
#pragma once
-#include <stdbool.h>
-
-#define ARABIC_CHAR(ch) (((ch) & 0xFF00) == 0x0600)
+#include "nvim/arabic_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "arabic.h.generated.h"
diff --git a/src/nvim/arabic_defs.h b/src/nvim/arabic_defs.h
new file mode 100644
index 0000000000..605ae7603a
--- /dev/null
+++ b/src/nvim/arabic_defs.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define ARABIC_CHAR(ch) (((ch) & 0xFF00) == 0x0600)
diff --git a/src/nvim/event/libuv_process.c b/src/nvim/event/libuv_process.c
index 2f21fcf2ac..8264adb1fc 100644
--- a/src/nvim/event/libuv_process.c
+++ b/src/nvim/event/libuv_process.c
@@ -5,7 +5,6 @@
#include "nvim/eval/typval.h"
#include "nvim/event/libuv_process.h"
-#include "nvim/event/loop.h"
#include "nvim/event/process.h"
#include "nvim/event/stream.h"
#include "nvim/log.h"
diff --git a/src/nvim/spellsuggest.h b/src/nvim/spellsuggest.h
index a0acc3cc50..0100e44b07 100644
--- a/src/nvim/spellsuggest.h
+++ b/src/nvim/spellsuggest.h
@@ -1,6 +1,6 @@
#pragma once
-#include "nvim/garray_defs.h"
+#include "nvim/garray_defs.h" // IWYU pragma: export
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "spellsuggest.h.generated.h"