mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
refactor(IWYU): fix includes for ugrid.h (#26267)
This commit is contained in:
parent
570367ac83
commit
71e954ad30
1
Makefile
1
Makefile
@ -243,7 +243,6 @@ iwyu: build/.ran-cmake
|
||||
|src/nvim/textobject.h\
|
||||
|src/nvim/tui/input.h\
|
||||
|src/nvim/tui/tui.h\
|
||||
|src/nvim/ugrid.h\
|
||||
|src/nvim/ui.h\
|
||||
|src/nvim/ui_client.h\
|
||||
|src/nvim/ui_compositor.h\
|
||||
|
@ -998,7 +998,6 @@ def CheckIncludes(filename, lines, error):
|
||||
"src/nvim/textobject.h",
|
||||
"src/nvim/tui/input.h",
|
||||
"src/nvim/tui/tui.h",
|
||||
"src/nvim/ugrid.h",
|
||||
"src/nvim/ui.h",
|
||||
"src/nvim/ui_client.h",
|
||||
"src/nvim/ui_compositor.h",
|
||||
|
@ -1,25 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "nvim/globals.h"
|
||||
#include "nvim/grid_defs.h"
|
||||
#include "nvim/ui.h"
|
||||
|
||||
struct ucell;
|
||||
struct ugrid;
|
||||
|
||||
typedef struct ucell UCell;
|
||||
typedef struct ugrid UGrid;
|
||||
|
||||
struct ucell {
|
||||
typedef struct ucell {
|
||||
schar_T data;
|
||||
sattr_T attr;
|
||||
};
|
||||
} UCell;
|
||||
|
||||
struct ugrid {
|
||||
typedef struct ugrid {
|
||||
int row, col;
|
||||
int width, height;
|
||||
UCell **cells;
|
||||
};
|
||||
} UGrid;
|
||||
|
||||
#define UGRID_FOREACH_CELL(grid, row, startcol, endcol, code) \
|
||||
do { \
|
||||
|
Loading…
Reference in New Issue
Block a user