aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-12 15:40:21 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-17 19:03:18 +0100
commit69bc519b53ebf78fd95c8256468e7d538ebcb948 (patch)
treeeeff39a8b6478da10c8d6b394617cc273e5e0d34 /src/clint.py
parentc0cb1e8e9437b738c8d3232ec4594113d2221bb2 (diff)
downloadrneovim-69bc519b53ebf78fd95c8256468e7d538ebcb948.tar.gz
rneovim-69bc519b53ebf78fd95c8256468e7d538ebcb948.tar.bz2
rneovim-69bc519b53ebf78fd95c8256468e7d538ebcb948.zip
refactor: move non-symbols to defs.h headers
Diffstat (limited to 'src/clint.py')
-rwxr-xr-xsrc/clint.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/clint.py b/src/clint.py
index 021d6b0a16..537406cd24 100755
--- a/src/clint.py
+++ b/src/clint.py
@@ -900,12 +900,12 @@ def CheckIncludes(filename, lines, error):
# These should be synced with the ignored headers in the `iwyu` target in
# the Makefile.
check_includes_ignore = [
- "src/nvim/api/private/helpers.h",
"src/nvim/api/private/validate.h",
"src/nvim/assert_defs.h",
"src/nvim/buffer.h",
"src/nvim/buffer_defs.h",
"src/nvim/channel.h",
+ "src/nvim/channel_defs.h",
"src/nvim/charset.h",
"src/nvim/drawline.h",
"src/nvim/eval.h",
@@ -916,7 +916,6 @@ def CheckIncludes(filename, lines, error):
"src/nvim/eval/window.h",
"src/nvim/event/libuv_process.h",
"src/nvim/event/loop.h",
- "src/nvim/event/multiqueue.h",
"src/nvim/event/process.h",
"src/nvim/event/rstream.h",
"src/nvim/event/signal.h",
@@ -932,8 +931,6 @@ def CheckIncludes(filename, lines, error):
"src/nvim/keycodes.h",
"src/nvim/lua/executor.h",
"src/nvim/main.h",
- "src/nvim/mark.h",
- "src/nvim/msgpack_rpc/channel.h",
"src/nvim/msgpack_rpc/channel_defs.h",
"src/nvim/msgpack_rpc/helpers.h",
"src/nvim/msgpack_rpc/unpacker.h",
@@ -949,10 +946,12 @@ def CheckIncludes(filename, lines, error):
]
skip_headers = [
- "klib/kvec.h",
- "klib/klist.h",
"auto/config.h",
- "nvim/func_attr.h"
+ "klib/klist.h",
+ "klib/kvec.h",
+ "nvim/func_attr.h",
+ "nvim/gettext.h",
+ "nvim/globals.h"
]
for i in check_includes_ignore: