aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-27 00:41:43 +0100
committerGitHub <noreply@github.com>2023-11-27 07:41:43 +0800
commitc2a5105e88758fc27fbcf49909c7790a75810e8a (patch)
tree1305a16983a0bb0b68218161deb0673e0ee0a9f8 /src
parent3514b26a5df47094a3142103361e09b7f965fb0b (diff)
downloadrneovim-c2a5105e88758fc27fbcf49909c7790a75810e8a.tar.gz
rneovim-c2a5105e88758fc27fbcf49909c7790a75810e8a.tar.bz2
rneovim-c2a5105e88758fc27fbcf49909c7790a75810e8a.zip
build(IWYU): remove arabic_defs.h (#26235)
A _defs header is only needed if it's included by multiple files.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/arabic.h2
-rw-r--r--src/nvim/arabic_defs.h3
2 files changed, 1 insertions, 4 deletions
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)