diff options
author | dundargoc <gocdundar@gmail.com> | 2024-01-04 15:38:16 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-01-11 21:37:23 +0100 |
commit | 1813661a6197c76ea6621284570aca1d56597099 (patch) | |
tree | 734884532e514c3f97af68bf85c2a7cb6836b06a /src/nvim/syntax.c | |
parent | 1514982484c6b9bdb1cebec9399536ebc8c630f7 (diff) | |
download | rneovim-1813661a6197c76ea6621284570aca1d56597099.tar.gz rneovim-1813661a6197c76ea6621284570aca1d56597099.tar.bz2 rneovim-1813661a6197c76ea6621284570aca1d56597099.zip |
refactor(IWYU): fix headers
Remove `export` pramgas from defs headers as it causes IWYU to believe
that the definitions from the defs headers comes from main header, which
is not what we really want.
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 30cb3681d4..ab8ab62b90 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -9,7 +9,9 @@ #include "nvim/ascii_defs.h" #include "nvim/autocmd.h" +#include "nvim/autocmd_defs.h" #include "nvim/buffer.h" +#include "nvim/buffer_defs.h" #include "nvim/charset.h" #include "nvim/cmdexpand_defs.h" #include "nvim/drawscreen.h" @@ -20,10 +22,13 @@ #include "nvim/ex_docmd.h" #include "nvim/fold.h" #include "nvim/garray.h" -#include "nvim/gettext.h" +#include "nvim/garray_defs.h" +#include "nvim/gettext_defs.h" #include "nvim/globals.h" #include "nvim/hashtab.h" +#include "nvim/hashtab_defs.h" #include "nvim/highlight.h" +#include "nvim/highlight_defs.h" #include "nvim/highlight_group.h" #include "nvim/indent_c.h" #include "nvim/macros_defs.h" @@ -38,6 +43,7 @@ #include "nvim/pos_defs.h" #include "nvim/profile.h" #include "nvim/regexp.h" +#include "nvim/regexp_defs.h" #include "nvim/runtime.h" #include "nvim/strings.h" #include "nvim/syntax.h" |