aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake.config/iwyu/mapping.imp1
-rw-r--r--src/nvim/arabic.h2
-rw-r--r--src/nvim/arabic_defs.h3
3 files changed, 1 insertions, 5 deletions
diff --git a/cmake.config/iwyu/mapping.imp b/cmake.config/iwyu/mapping.imp
index 9a433714dc..90c4ea36bc 100644
--- a/cmake.config/iwyu/mapping.imp
+++ b/cmake.config/iwyu/mapping.imp
@@ -195,7 +195,6 @@
# headers on the left, it will use the headers on the right if possible. This
# isn't explicitly mentioned in the IWYU docs, this is just my interpretation
# of its behavior.
- { include: [ '"nvim/arabic_defs.h"', public, '"nvim/arabic.h"', public ] },
{ include: [ '"nvim/arglist_defs.h"', public, '"nvim/arglist.h"', public ] },
{ include: [ '"nvim/buffer_defs.h"', public, '"nvim/buffer.h"', public ] },
{ include: [ '"nvim/cmdexpand_defs.h"', public, '"nvim/cmdexpand.h"', public ] },
diff --git a/src/nvim/arabic.h b/src/nvim/arabic.h
index 9b3c5b6cee..ac27153a37 100644
--- a/src/nvim/arabic.h
+++ b/src/nvim/arabic.h
@@ -1,6 +1,6 @@
#pragma once
-#include "nvim/arabic_defs.h"
+#define ARABIC_CHAR(ch) (((ch) & 0xFF00) == 0x0600)
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "arabic.h.generated.h"
diff --git a/src/nvim/arabic_defs.h b/src/nvim/arabic_defs.h
deleted file mode 100644
index 605ae7603a..0000000000
--- a/src/nvim/arabic_defs.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#define ARABIC_CHAR(ch) (((ch) & 0xFF00) == 0x0600)