aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-30 17:16:57 +0800
committerGitHub <noreply@github.com>2023-11-30 17:16:57 +0800
commitce56e0a845d68862118f44cb66c5f080e3c1bbed (patch)
tree3f3b593cb8574a99546b9c8324e840c4aa0451b7 /src/clint.py
parent543e0256c19f397921a332e06b423215fd9aecb5 (diff)
downloadrneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.tar.gz
rneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.tar.bz2
rneovim-ce56e0a845d68862118f44cb66c5f080e3c1bbed.zip
refactor(IWYU): move UI and LineFlags to ui_defs.h (#26318)
Diffstat (limited to 'src/clint.py')
-rwxr-xr-xsrc/clint.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/clint.py b/src/clint.py
index 1f588322f3..cb43ed59c7 100755
--- a/src/clint.py
+++ b/src/clint.py
@@ -898,14 +898,10 @@ def CheckIncludes(filename, lines, error):
# the Makefile.
check_includes_ignore = [
"src/nvim/api/extmark.h",
- "src/nvim/api/private/dispatch.h",
"src/nvim/api/private/helpers.h",
"src/nvim/api/private/validate.h",
- "src/nvim/api/ui.h",
- "src/nvim/ascii_defs.h",
"src/nvim/assert_defs.h",
"src/nvim/autocmd.h",
- "src/nvim/autocmd_defs.h",
"src/nvim/buffer.h",
"src/nvim/buffer_defs.h",
"src/nvim/channel.h",
@@ -933,7 +929,6 @@ def CheckIncludes(filename, lines, error):
"src/nvim/event/time.h",
"src/nvim/event/wstream.h",
"src/nvim/ex_cmds.h",
- "src/nvim/ex_cmds_defs.h",
"src/nvim/ex_docmd.h",
"src/nvim/extmark.h",
"src/nvim/file_search.h",
@@ -972,10 +967,7 @@ def CheckIncludes(filename, lines, error):
"src/nvim/syntax.h",
"src/nvim/textobject.h",
"src/nvim/tui/input.h",
- "src/nvim/tui/tui.h",
"src/nvim/ui.h",
- "src/nvim/ui_client.h",
- "src/nvim/ui_compositor.h",
"src/nvim/viml/parser/expressions.h",
"src/nvim/viml/parser/parser.h",
"src/nvim/window.h",
@@ -999,8 +991,10 @@ def CheckIncludes(filename, lines, error):
if name in skip_headers:
continue
if (not name.endswith('.h.generated.h') and
+ not name.endswith('/defs.h') and
not name.endswith('_defs.h') and
- not name.endswith('/defs.h')):
+ not name.endswith('_defs.generated.h') and
+ not name.endswith('_enum.generated.h')):
error(filename, i, 'build/include_defs', 5,
'Headers should not include non-"_defs" headers')