aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-27 09:51:26 +0800
committerGitHub <noreply@github.com>2023-11-27 09:51:26 +0800
commit09541d514dd18bf86f673d3784d406236fcbdad8 (patch)
treea719e36a3161d84714cd2f5e6e70f21f5410fb5c /src/nvim/syntax.h
parent7e2387f41be7cd8304fe48bfa089f2bea155dd5a (diff)
downloadrneovim-09541d514dd18bf86f673d3784d406236fcbdad8.tar.gz
rneovim-09541d514dd18bf86f673d3784d406236fcbdad8.tar.bz2
rneovim-09541d514dd18bf86f673d3784d406236fcbdad8.zip
build(IWYU): replace public-to-public mappings with pragmas (#26237)
Diffstat (limited to 'src/nvim/syntax.h')
-rw-r--r--src/nvim/syntax.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/syntax.h b/src/nvim/syntax.h
index 4fcfaac074..9ead4aa89a 100644
--- a/src/nvim/syntax.h
+++ b/src/nvim/syntax.h
@@ -2,11 +2,12 @@
#include <stdbool.h>
-#include "nvim/buffer_defs.h"
-#include "nvim/cmdexpand_defs.h"
-#include "nvim/ex_cmds_defs.h"
+#include "nvim/buffer_defs.h" // IWYU pragma: keep
+#include "nvim/cmdexpand_defs.h" // IWYU pragma: keep
+#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep
#include "nvim/globals.h"
#include "nvim/macros.h"
+#include "nvim/syntax_defs.h" // IWYU pragma: export
#define HL_CONTAINED 0x01 // not used on toplevel
#define HL_TRANSP 0x02 // has no highlighting