mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
refactor: move non-symbols to defs.h headers
This commit is contained in:
13
src/clint.py
13
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:
|
||||
|
Reference in New Issue
Block a user