refactor: fix headers with IWYU

This commit is contained in:
dundargoc 2023-11-28 20:31:00 +01:00 committed by dundargoc
parent d85e9935f2
commit 79b6ff28ad
212 changed files with 468 additions and 489 deletions

View File

@ -148,8 +148,8 @@ iwyu: build/.ran-cmake
|src/nvim/api/private/helpers.h\
|src/nvim/api/private/validate.h\
|src/nvim/api/ui.h\
|src/nvim/ascii.h\
|src/nvim/assert.h\
|src/nvim/ascii_defs.h\
|src/nvim/assert_defs.h\
|src/nvim/autocmd.h\
|src/nvim/autocmd_defs.h\
|src/nvim/buffer.h\
@ -161,7 +161,6 @@ iwyu: build/.ran-cmake
|src/nvim/cmdhist.h\
|src/nvim/context.h\
|src/nvim/decoration.h\
|src/nvim/decoration_defs.h\
|src/nvim/decoration_provider.h\
|src/nvim/diff.h\
|src/nvim/drawline.h\
@ -188,7 +187,6 @@ iwyu: build/.ran-cmake
|src/nvim/ex_docmd.h\
|src/nvim/ex_getln.h\
|src/nvim/extmark.h\
|src/nvim/extmark_defs.h\
|src/nvim/file_search.h\
|src/nvim/fileio.h\
|src/nvim/fold.h\
@ -197,23 +195,15 @@ iwyu: build/.ran-cmake
|src/nvim/globals.h\
|src/nvim/grid.h\
|src/nvim/highlight.h\
|src/nvim/highlight_defs.h\
|src/nvim/highlight_group.h\
|src/nvim/input.h\
|src/nvim/insexpand.h\
|src/nvim/keycodes.h\
|src/nvim/log.h\
|src/nvim/lua/executor.h\
|src/nvim/macros.h\
|src/nvim/main.h\
|src/nvim/map.h\
|src/nvim/mark.h\
|src/nvim/mark_defs.h\
|src/nvim/marktree.h\
|src/nvim/mbyte.h\
|src/nvim/mbyte_defs.h\
|src/nvim/memfile_defs.h\
|src/nvim/memory.h\
|src/nvim/message.h\
|src/nvim/mouse.h\
|src/nvim/move.h\
@ -221,10 +211,8 @@ iwyu: build/.ran-cmake
|src/nvim/msgpack_rpc/channel_defs.h\
|src/nvim/msgpack_rpc/helpers.h\
|src/nvim/msgpack_rpc/unpacker.h\
|src/nvim/normal.h\
|src/nvim/ops.h\
|src/nvim/option.h\
|src/nvim/option_vars.h\
|src/nvim/os/fileio.h\
|src/nvim/os/input.h\
|src/nvim/os/pty_conpty_win.h\
@ -235,9 +223,6 @@ iwyu: build/.ran-cmake
|src/nvim/popupmenu.h\
|src/nvim/search.h\
|src/nvim/spell.h\
|src/nvim/statusline.h\
|src/nvim/statusline_defs.h\
|src/nvim/strings.h\
|src/nvim/syntax.h\
|src/nvim/textformat.h\
|src/nvim/textobject.h\
@ -246,8 +231,7 @@ iwyu: build/.ran-cmake
|src/nvim/ui.h\
|src/nvim/ui_client.h\
|src/nvim/ui_compositor.h\
|src/nvim/version.h\
|src/nvim/vim.h\
|src/nvim/vim_defs.h\
|src/nvim/viml/parser/expressions.h\
|src/nvim/viml/parser/parser.h\
|src/nvim/window.h\

View File

@ -18,8 +18,8 @@
{ symbol: [ "FUNC_ATTR_PURE", private, '"nvim/func_attr.h"', public ] },
{ symbol: [ "FUNC_ATTR_UNUSED", private, '"nvim/func_attr.h"', public ] },
{ symbol: [ "FUNC_ATTR_WARN_UNUSED_RESULT", private, '"nvim/func_attr.h"', public ] },
{ symbol: [ "MAX", private, '"nvim/macros.h"', public ] },
{ symbol: [ "MIN", private, '"nvim/macros.h"', public ] },
{ symbol: [ "MAX", private, '"nvim/macros_defs.h"', public ] },
{ symbol: [ "MIN", private, '"nvim/macros_defs.h"', public ] },
{ symbol: [ "extern_proc", private, '<uv.h>', public ] },
{ symbol: [ "iovec", private, '<sys/uio.h>', public ] },

View File

@ -1,4 +1,4 @@
#include "${PROJECT_SOURCE_DIR}/src/nvim/vim.h"
#include "${PROJECT_SOURCE_DIR}/src/nvim/vim_defs.h"
char *default_vim_dir = "${CMAKE_INSTALL_FULL_DATAROOTDIR}/nvim";
char *default_vimruntime_dir = "";
char *default_lib_dir = "${CMAKE_INSTALL_FULL_LIBDIR}/nvim";

View File

@ -903,8 +903,8 @@ def CheckIncludes(filename, lines, error):
"src/nvim/api/private/helpers.h",
"src/nvim/api/private/validate.h",
"src/nvim/api/ui.h",
"src/nvim/ascii.h",
"src/nvim/assert.h",
"src/nvim/ascii_defs.h",
"src/nvim/assert_defs.h",
"src/nvim/autocmd.h",
"src/nvim/autocmd_defs.h",
"src/nvim/buffer.h",
@ -916,7 +916,6 @@ def CheckIncludes(filename, lines, error):
"src/nvim/cmdhist.h",
"src/nvim/context.h",
"src/nvim/decoration.h",
"src/nvim/decoration_defs.h",
"src/nvim/decoration_provider.h",
"src/nvim/diff.h",
"src/nvim/drawline.h",
@ -943,7 +942,6 @@ def CheckIncludes(filename, lines, error):
"src/nvim/ex_docmd.h",
"src/nvim/ex_getln.h",
"src/nvim/extmark.h",
"src/nvim/extmark_defs.h",
"src/nvim/file_search.h",
"src/nvim/fileio.h",
"src/nvim/fold.h",
@ -952,23 +950,15 @@ def CheckIncludes(filename, lines, error):
"src/nvim/globals.h",
"src/nvim/grid.h",
"src/nvim/highlight.h",
"src/nvim/highlight_defs.h",
"src/nvim/highlight_group.h",
"src/nvim/input.h",
"src/nvim/insexpand.h",
"src/nvim/keycodes.h",
"src/nvim/log.h",
"src/nvim/lua/executor.h",
"src/nvim/macros.h",
"src/nvim/main.h",
"src/nvim/map.h",
"src/nvim/mark.h",
"src/nvim/mark_defs.h",
"src/nvim/marktree.h",
"src/nvim/mbyte.h",
"src/nvim/mbyte_defs.h",
"src/nvim/memfile_defs.h",
"src/nvim/memory.h",
"src/nvim/message.h",
"src/nvim/mouse.h",
"src/nvim/move.h",
@ -976,10 +966,8 @@ def CheckIncludes(filename, lines, error):
"src/nvim/msgpack_rpc/channel_defs.h",
"src/nvim/msgpack_rpc/helpers.h",
"src/nvim/msgpack_rpc/unpacker.h",
"src/nvim/normal.h",
"src/nvim/ops.h",
"src/nvim/option.h",
"src/nvim/option_vars.h",
"src/nvim/os/fileio.h",
"src/nvim/os/input.h",
"src/nvim/os/pty_conpty_win.h",
@ -990,9 +978,6 @@ def CheckIncludes(filename, lines, error):
"src/nvim/popupmenu.h",
"src/nvim/search.h",
"src/nvim/spell.h",
"src/nvim/statusline.h",
"src/nvim/statusline_defs.h",
"src/nvim/strings.h",
"src/nvim/syntax.h",
"src/nvim/textformat.h",
"src/nvim/textobject.h",
@ -1001,13 +986,19 @@ def CheckIncludes(filename, lines, error):
"src/nvim/ui.h",
"src/nvim/ui_client.h",
"src/nvim/ui_compositor.h",
"src/nvim/version.h",
"src/nvim/vim.h",
"src/nvim/vim_defs.h",
"src/nvim/viml/parser/expressions.h",
"src/nvim/viml/parser/parser.h",
"src/nvim/window.h",
]
skip_headers = [
"klib/kvec.h",
"klib/klist.h",
"auto/config.h",
"nvim/func_attr.h"
]
for i in check_includes_ignore:
if filename.endswith(i):
return
@ -1016,6 +1007,8 @@ def CheckIncludes(filename, lines, error):
matched = Match(r'#\s*include\s*"([^"]*)"', line)
if matched:
name = matched.group(1)
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')):

View File

@ -24,7 +24,7 @@
#include <lua.h>
#include <luaconf.h>
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "lmpack.h"

View File

@ -21,7 +21,7 @@
#include "nvim/globals.h"
#include "nvim/lua/executor.h"
#include "nvim/memory.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "api/autocmd.c.generated.h"

View File

@ -14,7 +14,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/private/validate.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -36,7 +36,7 @@
#include "nvim/pos_defs.h"
#include "nvim/types_defs.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "api/buffer.c.generated.h"

View File

@ -11,7 +11,7 @@
#include "nvim/api/private/dispatch.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/private/validate.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer_defs.h"
#include "nvim/cmdexpand_defs.h"
@ -22,7 +22,7 @@
#include "nvim/garray.h"
#include "nvim/globals.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/ops.h"
@ -31,7 +31,7 @@
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/usercmd.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS

View File

@ -5,8 +5,8 @@
#include "nvim/api/keysets_defs.h" // IWYU pragma: keep
#include "nvim/api/private/defs.h" // IWYU pragma: keep
#include "nvim/decoration_defs.h" // IWYU pragma: keep
#include "nvim/macros.h"
#include "nvim/map.h"
#include "nvim/macros_defs.h"
#include "nvim/map_defs.h"
#include "nvim/types_defs.h"
EXTERN Map(String, int) namespace_ids INIT( = MAP_INIT);

View File

@ -13,11 +13,11 @@
#include "nvim/eval/window.h"
#include "nvim/func_attr.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memory.h"
#include "nvim/option.h"
#include "nvim/option_vars.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS

View File

@ -7,7 +7,7 @@
#include "nvim/api/private/converter.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/assert.h"
#include "nvim/assert_defs.h"
#include "nvim/eval/typval.h"
#include "nvim/eval/typval_defs.h"
#include "nvim/eval/userfunc.h"
@ -15,7 +15,7 @@
#include "nvim/lua/executor.h"
#include "nvim/memory.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
/// Helper structure for vim_to_object
typedef struct {

View File

@ -14,7 +14,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/private/validate.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/eval/typval.h"
#include "nvim/eval/typval_defs.h"
@ -25,7 +25,7 @@
#include "nvim/globals.h"
#include "nvim/highlight_group.h"
#include "nvim/lua/executor.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/mark.h"
#include "nvim/memline.h"
#include "nvim/memory.h"

View File

@ -13,8 +13,8 @@
#include "nvim/getchar.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/map.h"
#include "nvim/macros_defs.h"
#include "nvim/map_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"

View File

@ -5,7 +5,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/private/validate.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/globals.h"
/// Creates "Invalid …" message and sets it on `err`.

View File

@ -5,8 +5,8 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/assert.h"
#include "nvim/macros.h"
#include "nvim/assert_defs.h"
#include "nvim/macros_defs.h"
#define VALIDATE(cond, fmt_, fmt_arg1, code) \
do { \

View File

@ -21,9 +21,9 @@
#include "nvim/globals.h"
#include "nvim/grid.h"
#include "nvim/highlight.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/main.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/msgpack_rpc/channel.h"
@ -31,7 +31,7 @@
#include "nvim/option.h"
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#define BUF_POS(data) ((size_t)((data)->buf_wptr - (data)->buf))

View File

@ -4,7 +4,7 @@
#include "nvim/api/private/defs.h" // IWYU pragma: keep
#include "nvim/highlight_defs.h" // IWYU pragma: keep
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/types_defs.h" // IWYU pragma: keep
#include "nvim/ui.h"

View File

@ -18,7 +18,7 @@
#include "nvim/api/private/helpers.h"
#include "nvim/api/private/validate.h"
#include "nvim/api/vim.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/channel.h"
@ -40,7 +40,7 @@
#include "nvim/keycodes.h"
#include "nvim/log.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mapping.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
@ -67,7 +67,7 @@
#include "nvim/terminal.h"
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#define LINE_BUFFER_MIN_SIZE 4096

View File

@ -10,7 +10,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/vimscript.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/eval.h"
#include "nvim/eval/typval.h"
#include "nvim/eval/userfunc.h"
@ -20,7 +20,7 @@
#include "nvim/globals.h"
#include "nvim/memory.h"
#include "nvim/runtime.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/viml/parser/expressions.h"
#include "nvim/viml/parser/parser.h"

View File

@ -8,7 +8,7 @@
#include "nvim/api/private/dispatch.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/win_config.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer_defs.h"
#include "nvim/decoration.h"
@ -17,7 +17,7 @@
#include "nvim/globals.h"
#include "nvim/grid.h"
#include "nvim/highlight_group.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/option.h"

View File

@ -21,9 +21,9 @@
#include <stddef.h>
#include "nvim/arabic.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/func_attr.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/option_vars.h"
// Unicode values for Arabic characters.

View File

@ -7,7 +7,7 @@
#include "auto/config.h"
#include "nvim/arglist.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
@ -24,7 +24,7 @@
#include "nvim/garray.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mark.h"
#include "nvim/memline_defs.h"
#include "nvim/memory.h"
@ -38,7 +38,7 @@
#include "nvim/types_defs.h"
#include "nvim/undo.h"
#include "nvim/version.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
/// State used by the :all command to open all the files in the argument list in

View File

@ -3,7 +3,7 @@
#include <stdbool.h>
#include "nvim/func_attr.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/os/os_defs.h"
// Definitions of various common control characters.

View File

@ -9,7 +9,7 @@
#include "klib/kvec.h"
#include "nvim/api/private/helpers.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
@ -33,7 +33,7 @@
#include "nvim/insexpand.h"
#include "nvim/lua/executor.h"
#include "nvim/main.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/option.h"
@ -52,7 +52,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/ui_compositor.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#include "nvim/winfloat.h"

View File

@ -10,7 +10,7 @@
#include "nvim/cmdexpand_defs.h" // IWYU pragma: keep
#include "nvim/eval/typval_defs.h" // IWYU pragma: keep
#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/pos_defs.h"
#include "nvim/types_defs.h"

View File

@ -29,8 +29,8 @@
#include "klib/kvec.h"
#include "nvim/api/private/helpers.h"
#include "nvim/arglist.h"
#include "nvim/ascii.h"
#include "nvim/assert.h"
#include "nvim/ascii_defs.h"
#include "nvim/assert_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_updates.h"
@ -65,7 +65,7 @@
#include "nvim/indent.h"
#include "nvim/indent_c.h"
#include "nvim/main.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/mapping.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
@ -100,7 +100,7 @@
#include "nvim/undo.h"
#include "nvim/usercmd.h"
#include "nvim/version.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#include "nvim/winfloat.h"

View File

@ -9,7 +9,7 @@
#include "nvim/eval/typval_defs.h"
#include "nvim/ex_cmds_defs.h"
#include "nvim/func_attr.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memline.h"
#include "nvim/memline_defs.h"
#include "nvim/pos_defs.h"

View File

@ -23,7 +23,7 @@ typedef struct {
#include "nvim/grid_defs.h"
#include "nvim/hashtab_defs.h"
#include "nvim/highlight_defs.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/mapping_defs.h"
#include "nvim/mark_defs.h"
#include "nvim/marktree.h"

View File

@ -7,7 +7,7 @@
#include "nvim/api/buffer.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/assert.h"
#include "nvim/assert_defs.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
#include "nvim/buffer_updates.h"

View File

@ -10,7 +10,7 @@
#include <uv.h>
#include "auto/config.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -27,9 +27,9 @@
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/highlight_defs.h"
#include "nvim/iconv.h"
#include "nvim/iconv_defs.h"
#include "nvim/input.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"
#include "nvim/memory.h"
@ -46,7 +46,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
static const char *err_readonly = "is read-only (cannot override: \"W\" in 'cpoptions')";
static const char e_patchmode_cant_touch_empty_original_file[]

View File

@ -5,8 +5,8 @@
#include <stdint.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/assert.h"
#include "nvim/ascii_defs.h"
#include "nvim/assert_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -28,7 +28,7 @@
#include "nvim/indent.h"
#include "nvim/indent_c.h"
#include "nvim/insexpand.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"
@ -47,7 +47,7 @@
#include "nvim/textformat.h"
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "change.c.generated.h"

View File

@ -11,9 +11,9 @@
#include "nvim/event/socket.h"
#include "nvim/event/stream.h"
#include "nvim/garray_defs.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/main.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/msgpack_rpc/channel_defs.h"
#include "nvim/os/pty_process.h"
#include "nvim/terminal.h"

View File

@ -12,7 +12,7 @@
#include "auto/config.h"
#include "klib/kvec.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/charset.h"
#include "nvim/cursor.h"
@ -20,14 +20,14 @@
#include "nvim/garray.h"
#include "nvim/globals.h"
#include "nvim/keycodes.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/option.h"
#include "nvim/path.h"
#include "nvim/pos_defs.h"
#include "nvim/strings.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "charset.c.generated.h"

View File

@ -11,7 +11,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/arglist.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
@ -40,7 +40,7 @@
#include "nvim/keycodes.h"
#include "nvim/log.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mapping.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
@ -65,7 +65,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/usercmd.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
/// Type used by call_user_expand_func

View File

@ -7,7 +7,7 @@
#include <stdio.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/charset.h"
#include "nvim/cmdexpand_defs.h"
#include "nvim/cmdhist.h"
@ -18,14 +18,14 @@
#include "nvim/func_attr.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/option_vars.h"
#include "nvim/regexp.h"
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "cmdhist.c.generated.h"

View File

@ -3,15 +3,15 @@
#include <stdbool.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/assert.h"
#include "nvim/ascii_defs.h"
#include "nvim/assert_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/change.h"
#include "nvim/cursor.h"
#include "nvim/drawscreen.h"
#include "nvim/fold.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"
@ -22,7 +22,7 @@
#include "nvim/plines.h"
#include "nvim/pos_defs.h"
#include "nvim/state.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "cursor.c.generated.h"

View File

@ -4,7 +4,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/charset.h"
#include "nvim/cursor_shape.h"
#include "nvim/ex_getln.h"
@ -13,11 +13,11 @@
#include "nvim/globals.h"
#include "nvim/highlight_group.h"
#include "nvim/log.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/option_vars.h"
#include "nvim/strings.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "cursor_shape.c.generated.h"

View File

@ -7,7 +7,7 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/charset.h"
#include "nvim/cmdexpand_defs.h"
#include "nvim/debugger.h"
@ -24,7 +24,7 @@
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/keycodes.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/os/os.h"
@ -32,7 +32,7 @@
#include "nvim/pos_defs.h"
#include "nvim/regexp.h"
#include "nvim/runtime.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
/// batch mode debugging: don't save and restore typeahead.
static bool debug_greedy = false;

View File

@ -8,7 +8,7 @@
#include "nvim/buffer_defs.h"
#include "nvim/decoration_defs.h" // IWYU pragma: export
#include "nvim/extmark_defs.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/marktree.h"
#include "nvim/pos_defs.h"
#include "nvim/types_defs.h"

View File

@ -5,7 +5,7 @@
#include "klib/kvec.h"
#include "nvim/buffer_defs.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/types_defs.h"
#define DP_MAX_ERROR 3

View File

@ -16,7 +16,7 @@
#include <string.h>
#include "auto/config.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/bufwrite.h"
@ -56,7 +56,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#include "xdiff/xdiff.h"

View File

@ -3,7 +3,7 @@
#include <stdbool.h>
#include "nvim/ex_cmds_defs.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/pos_defs.h"
// Value set from 'diffopt'.

View File

@ -7,7 +7,7 @@
#include <stdbool.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/charset.h"
#include "nvim/digraph.h"
@ -34,7 +34,7 @@
#include "nvim/runtime.h"
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
typedef int result_T;

View File

@ -9,7 +9,7 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
#include "nvim/cursor.h"
@ -46,7 +46,7 @@
#include "nvim/terminal.h"
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#define MB_FILLER_CHAR '<' // character used when a double-width character
// doesn't fit.

View File

@ -6,7 +6,7 @@
#include "klib/kvec.h"
#include "nvim/decoration_provider.h"
#include "nvim/fold.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/pos_defs.h"
#include "nvim/types_defs.h"

View File

@ -61,7 +61,7 @@
#include "klib/kvec.h"
#include "nvim/api/private/defs.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
@ -110,7 +110,7 @@
#include "nvim/ui.h"
#include "nvim/ui_compositor.h"
#include "nvim/version.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
/// corner value flags for hsep_connected and vsep_connected

View File

@ -4,7 +4,7 @@
#include "nvim/buffer_defs.h"
#include "nvim/drawline.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
/// flags for update_screen()
/// The higher the value, the higher the priority

View File

@ -7,7 +7,7 @@
#include <string.h>
#include <sys/types.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/autocmd_defs.h"
#include "nvim/buffer.h"
@ -35,7 +35,7 @@
#include "nvim/indent_c.h"
#include "nvim/insexpand.h"
#include "nvim/keycodes.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mapping.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
@ -62,7 +62,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
typedef struct insert_state {

View File

@ -13,7 +13,7 @@
#include "nvim/api/private/converter.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
#include "nvim/channel.h"
@ -48,9 +48,9 @@
#include "nvim/keycodes.h"
#include "nvim/lib/queue.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/main.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"
@ -82,7 +82,7 @@
#include "nvim/ui_compositor.h"
#include "nvim/usercmd.h"
#include "nvim/version.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
// TODO(ZyX-I): Remove DICT_MAXNEST, make users be non-recursive instead

View File

@ -12,7 +12,7 @@
#include "nvim/ex_cmds_defs.h"
#include "nvim/globals.h"
#include "nvim/hashtab_defs.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/os/fileio.h"
#include "nvim/os/stdpaths_defs.h"

View File

@ -3,7 +3,7 @@
#include <stdbool.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -16,7 +16,7 @@
#include "nvim/eval/typval_defs.h"
#include "nvim/func_attr.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memline.h"
#include "nvim/memory.h"
#include "nvim/move.h"
@ -25,7 +25,7 @@
#include "nvim/sign.h"
#include "nvim/types_defs.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
typedef struct {
win_T *cob_curwin_save;

View File

@ -7,7 +7,7 @@
#include <string.h>
#include "klib/kvec.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/charset.h"
#include "nvim/eval.h"
#include "nvim/eval/decode.h"
@ -17,12 +17,12 @@
#include "nvim/func_attr.h"
#include "nvim/garray.h"
#include "nvim/gettext.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
/// Helper structure for container_struct
typedef struct {

View File

@ -14,7 +14,7 @@
#include "klib/kvec.h"
#include "msgpack/pack.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/eval.h"
#include "nvim/eval/encode.h"
#include "nvim/eval/typval.h"
@ -22,14 +22,14 @@
#include "nvim/garray.h"
#include "nvim/gettext.h"
#include "nvim/hashtab.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/math.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h" // For _()
#include "nvim/vim_defs.h" // For _()
const char *const encode_bool_var_names[] = {
[kBoolVarTrue] = "v:true",

View File

@ -12,7 +12,7 @@
#include "nvim/message.h"
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "eval/executor.c.generated.h" // IWYU pragma: export

View File

@ -24,8 +24,8 @@
#include "nvim/api/private/dispatch.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/vim.h"
#include "nvim/ascii.h"
#include "nvim/assert.h"
#include "nvim/ascii_defs.h"
#include "nvim/assert_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -72,7 +72,7 @@
#include "nvim/insexpand.h"
#include "nvim/keycodes.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/main.h"
#include "nvim/mark.h"
#include "nvim/math.h"
@ -114,7 +114,7 @@
#include "nvim/tag.h"
#include "nvim/ui.h"
#include "nvim/version.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
/// Describe data to return from find_some_match()

View File

@ -7,8 +7,8 @@
#include <string.h>
#include <sys/types.h>
#include "nvim/ascii.h"
#include "nvim/assert.h"
#include "nvim/ascii_defs.h"
#include "nvim/assert_defs.h"
#include "nvim/charset.h"
#include "nvim/eval.h"
#include "nvim/eval/encode.h"
@ -25,7 +25,7 @@
#include "nvim/hashtab.h"
#include "nvim/lib/queue.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/mbyte_defs.h"
#include "nvim/memory.h"
@ -34,7 +34,7 @@
#include "nvim/pos_defs.h"
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
/// struct storing information about current sort
typedef struct {

View File

@ -12,7 +12,7 @@
#include "nvim/gettext.h"
#include "nvim/hashtab.h"
#include "nvim/lib/queue.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte_defs.h"
#include "nvim/message.h"
#include "nvim/types_defs.h"

View File

@ -8,7 +8,7 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/charset.h"
#include "nvim/cmdexpand_defs.h"
@ -32,7 +32,7 @@
#include "nvim/insexpand.h"
#include "nvim/keycodes.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/message.h"
@ -46,7 +46,7 @@
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "eval/userfunc.c.generated.h"

View File

@ -9,7 +9,7 @@
#include <string.h>
#include <sys/types.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer_defs.h"
#include "nvim/charset.h"
@ -30,7 +30,7 @@
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/hashtab.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/ops.h"
@ -41,7 +41,7 @@
#include "nvim/search.h"
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS

View File

@ -6,7 +6,7 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -18,13 +18,13 @@
#include "nvim/garray.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/move.h"
#include "nvim/pos_defs.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#include "nvim/winfloat.h"

View File

@ -13,7 +13,7 @@
#include "nvim/option_vars.h"
#include "nvim/os/fs.h"
#include "nvim/pos_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
/// Structure used by switch_win() to pass values to restore_win()

View File

@ -10,7 +10,7 @@
#include "nvim/event/stream.h"
#include "nvim/func_attr.h"
#include "nvim/log.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/main.h"
#include "nvim/os/os_defs.h"
#include "nvim/rbuffer.h"

View File

@ -5,7 +5,7 @@
#include <string.h>
#include <uv.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/charset.h"
#include "nvim/event/loop.h"
#include "nvim/event/socket.h"

View File

@ -6,7 +6,7 @@
#include "nvim/event/stream.h"
#include "nvim/event/wstream.h"
#include "nvim/func_attr.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memory.h"
#define DEFAULT_MAXMEM 1024 * 1024 * 2000

View File

@ -16,7 +16,7 @@
#include "auto/config.h"
#include "klib/kvec.h"
#include "nvim/arglist.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -52,7 +52,7 @@
#include "nvim/highlight_group.h"
#include "nvim/indent.h"
#include "nvim/input.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/main.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
@ -84,7 +84,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
/// Case matching style to use for :substitute

View File

@ -9,7 +9,7 @@
#include <string.h>
#include "nvim/arglist.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/bufwrite.h"
@ -27,7 +27,7 @@
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/highlight_defs.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mark.h"
#include "nvim/memory.h"
#include "nvim/message.h"
@ -40,7 +40,7 @@
#include "nvim/quickfix.h"
#include "nvim/runtime.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS

View File

@ -13,7 +13,7 @@
#include "auto/config.h"
#include "nvim/arglist.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -49,7 +49,7 @@
#include "nvim/input.h"
#include "nvim/keycodes.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/main.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
@ -84,7 +84,7 @@
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/usercmd.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#include "nvim/winfloat.h"

View File

@ -8,7 +8,7 @@
#include <stdio.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/charset.h"
#include "nvim/debugger.h"
#include "nvim/eval.h"
@ -27,7 +27,7 @@
#include "nvim/regexp.h"
#include "nvim/runtime.h"
#include "nvim/strings.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "ex_eval.c.generated.h"

View File

@ -15,7 +15,7 @@
#include "nvim/api/private/helpers.h"
#include "nvim/api/vim.h"
#include "nvim/arabic.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
@ -42,8 +42,8 @@
#include "nvim/highlight_defs.h"
#include "nvim/highlight_group.h"
#include "nvim/keycodes.h"
#include "nvim/macros.h"
#include "nvim/map.h"
#include "nvim/macros_defs.h"
#include "nvim/map_defs.h"
#include "nvim/mapping.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
@ -72,7 +72,7 @@
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/usercmd.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/viml/parser/expressions.h"
#include "nvim/viml/parser/parser.h"
#include "nvim/window.h"

View File

@ -10,7 +10,7 @@
#include <string.h>
#include "nvim/arglist.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer.h"
#include "nvim/eval.h"
#include "nvim/ex_cmds_defs.h"
@ -24,7 +24,7 @@
#include "nvim/garray.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mapping.h"
#include "nvim/memory.h"
#include "nvim/message.h"
@ -35,7 +35,7 @@
#include "nvim/path.h"
#include "nvim/pos_defs.h"
#include "nvim/runtime.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS

View File

@ -34,7 +34,7 @@
#include "nvim/extmark.h"
#include "nvim/extmark_defs.h"
#include "nvim/globals.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/marktree.h"
#include "nvim/memline.h"
#include "nvim/pos_defs.h"

View File

@ -8,7 +8,7 @@
#include "nvim/buffer_defs.h"
#include "nvim/decoration.h"
#include "nvim/extmark_defs.h" // IWYU pragma: export
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/marktree.h"
#include "nvim/pos_defs.h"
#include "nvim/types_defs.h"

View File

@ -49,14 +49,14 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/eval.h"
#include "nvim/eval/typval.h"
#include "nvim/file_search.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/message.h"
@ -67,7 +67,7 @@
#include "nvim/os/os.h"
#include "nvim/path.h"
#include "nvim/strings.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
static char *ff_expand_buffer = NULL; // used for expanding filenames

View File

@ -16,7 +16,7 @@
#include <uv.h>
#include "auto/config.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/buffer_defs.h"
@ -38,9 +38,9 @@
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/highlight_defs.h"
#include "nvim/iconv.h"
#include "nvim/iconv_defs.h"
#include "nvim/log.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memfile.h"
#include "nvim/memline.h"
@ -64,7 +64,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef BACKSLASH_IN_FILENAME
# include "nvim/charset.h"

View File

@ -13,7 +13,7 @@
#include "nvim/api/extmark.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/buffer_updates.h"
#include "nvim/change.h"
@ -49,7 +49,7 @@
#include "nvim/syntax.h"
#include "nvim/types_defs.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
// local declarations. {{{1
// typedef fold_T {{{2

View File

@ -5,7 +5,7 @@
#include "nvim/buffer_defs.h" // IWYU pragma: keep
#include "nvim/fold_defs.h" // IWYU pragma: export
#include "nvim/garray_defs.h" // IWYU pragma: keep
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/pos_defs.h"
#include "nvim/types_defs.h"

View File

@ -41,7 +41,7 @@
// $ gcc -E -dM - </dev/null
// $ echo | clang -dM -E -
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#ifdef FUNC_ATTR_MALLOC
# undef FUNC_ATTR_MALLOC

View File

@ -227,7 +227,7 @@ output:write([[
#include "nvim/ex_docmd.h"
#include "nvim/ex_getln.h"
#include "nvim/log.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/msgpack_rpc/helpers.h"
#include "nvim/api/autocmd.h"

View File

@ -13,7 +13,7 @@
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/charset.h"
#include "nvim/cursor.h"
@ -35,7 +35,7 @@
#include "nvim/insexpand.h"
#include "nvim/keycodes.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/main.h"
#include "nvim/mapping.h"
#include "nvim/mbyte.h"
@ -57,7 +57,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
/// Index in scriptin
static int curscript = 0;

View File

@ -4,13 +4,13 @@
#include <stdbool.h>
#include "nvim/arglist_defs.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/event/loop.h"
#include "nvim/ex_cmds_defs.h"
#include "nvim/ex_eval_defs.h"
#include "nvim/getchar_defs.h"
#include "nvim/iconv.h"
#include "nvim/macros.h"
#include "nvim/iconv_defs.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/menu_defs.h"
#include "nvim/os/os_defs.h"

View File

@ -16,20 +16,20 @@
#include "nvim/api/private/defs.h"
#include "nvim/arabic.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/decoration.h"
#include "nvim/globals.h"
#include "nvim/grid.h"
#include "nvim/highlight.h"
#include "nvim/log.h"
#include "nvim/map.h"
#include "nvim/map_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/option_vars.h"
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "grid.c.generated.h"

View File

@ -6,7 +6,7 @@
#include "nvim/buffer_defs.h"
#include "nvim/grid_defs.h" // IWYU pragma: export
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/pos_defs.h"

View File

@ -23,13 +23,13 @@
#include <stdbool.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/func_attr.h"
#include "nvim/gettext.h"
#include "nvim/hashtab.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
// Magic value for algorithm that walks through the array.
#define PERTURB_SHIFT 5

View File

@ -6,7 +6,7 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer.h"
#include "nvim/change.h"
#include "nvim/charset.h"
@ -21,7 +21,7 @@
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/help.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"
@ -40,7 +40,7 @@
#include "nvim/syntax.h"
#include "nvim/tag.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS

View File

@ -19,15 +19,15 @@
#include "nvim/highlight_defs.h"
#include "nvim/highlight_group.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/map.h"
#include "nvim/macros_defs.h"
#include "nvim/map_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/option.h"
#include "nvim/popupmenu.h"
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "highlight.c.generated.h"

View File

@ -2,7 +2,7 @@
#include <inttypes.h>
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/types_defs.h"
typedef int32_t RgbValue;

View File

@ -13,7 +13,7 @@
#include "nvim/api/private/dispatch.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/private/validate.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/charset.h"
#include "nvim/cmdexpand_defs.h"
@ -31,8 +31,8 @@
#include "nvim/highlight.h"
#include "nvim/highlight_group.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/map.h"
#include "nvim/macros_defs.h"
#include "nvim/map_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/option.h"
@ -42,7 +42,7 @@
#include "nvim/strings.h"
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
/// \addtogroup SG_SET
/// @{

View File

@ -4,8 +4,8 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/assert.h"
#include "nvim/ascii_defs.h"
#include "nvim/assert_defs.h"
#include "nvim/buffer.h"
#include "nvim/change.h"
#include "nvim/charset.h"
@ -40,7 +40,7 @@
#include "nvim/textformat.h"
#include "nvim/types_defs.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "indent.c.generated.h"

View File

@ -4,7 +4,7 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/charset.h"
#include "nvim/cursor.h"
@ -13,7 +13,7 @@
#include "nvim/globals.h"
#include "nvim/indent.h"
#include "nvim/indent_c.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mark.h"
#include "nvim/memline.h"
#include "nvim/memory.h"
@ -23,7 +23,7 @@
#include "nvim/pos_defs.h"
#include "nvim/search.h"
#include "nvim/strings.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
// Find result cache for cpp_baseclass
typedef struct {

View File

@ -6,7 +6,7 @@
#include <stdint.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/event/multiqueue.h"
#include "nvim/getchar.h"
#include "nvim/gettext.h"
@ -20,7 +20,7 @@
#include "nvim/mouse.h"
#include "nvim/os/input.h"
#include "nvim/ui.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "input.c.generated.h" // IWYU pragma: export

View File

@ -9,7 +9,7 @@
#include <stdlib.h>
#include <string.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/autocmd.h"
#include "nvim/buffer.h"
#include "nvim/change.h"
@ -34,7 +34,7 @@
#include "nvim/indent_c.h"
#include "nvim/insexpand.h"
#include "nvim/keycodes.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mark.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"
@ -60,7 +60,7 @@
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/undo.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"
// Definitions used for CTRL-X submode.

View File

@ -1,10 +1,10 @@
#pragma once
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/option_defs.h" // IWYU pragma: keep
#include "nvim/pos_defs.h" // IWYU pragma: keep
#include "nvim/types_defs.h" // IWYU pragma: keep
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "insexpand.h.generated.h"

View File

@ -6,7 +6,7 @@
#include <string.h>
#include <sys/types.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/charset.h"
#include "nvim/eval/typval_defs.h"
#include "nvim/eval/vars.h"
@ -14,12 +14,12 @@
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/keycodes.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/mouse.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "keycodes.c.generated.h"

View File

@ -2,7 +2,7 @@
#include <stddef.h>
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/option_defs.h"
#include "nvim/option_vars.h"
#include "nvim/strings.h"

View File

@ -6,7 +6,7 @@
#include <string.h>
#include "nvim/linematch.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/memory.h"
#include "nvim/pos_defs.h"

View File

@ -17,7 +17,7 @@
#include <uv.h>
#include "auto/config.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/eval.h"
#include "nvim/func_attr.h"
#include "nvim/globals.h"

View File

@ -4,7 +4,7 @@
#include <stdio.h>
#include "auto/config.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
// USDT probes. Example invocation:
// NVIM_PROBE(nvim_foo_bar, 1, string.data);

View File

@ -13,7 +13,7 @@
// FIXME: vim.h is not actually needed, but otherwise it states MAXPATHL is
// redefined
#include "klib/kvec.h"
#include "nvim/ascii.h"
#include "nvim/ascii_defs.h"
#include "nvim/eval/decode.h"
#include "nvim/eval/typval.h"
#include "nvim/eval/typval_defs.h"
@ -23,10 +23,10 @@
#include "nvim/gettext.h"
#include "nvim/lua/converter.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
#include "nvim/macros_defs.h"
#include "nvim/message.h"
#include "nvim/types_defs.h"
#include "nvim/vim.h"
#include "nvim/vim_defs.h"
/// Determine, which keys lua table contains
typedef struct {

Some files were not shown because too many files have changed in this diff Show More