diff options
Diffstat (limited to 'src/nvim/mbyte.h')
-rw-r--r-- | src/nvim/mbyte.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/nvim/mbyte.h b/src/nvim/mbyte.h index 780f33e05b..49c323282d 100644 --- a/src/nvim/mbyte.h +++ b/src/nvim/mbyte.h @@ -1,15 +1,15 @@ -#ifndef NVIM_MBYTE_H -#define NVIM_MBYTE_H +#pragma once #include <stdbool.h> #include <stdint.h> #include <string.h> -#include "nvim/eval/typval.h" +#include "nvim/cmdexpand_defs.h" // IWYU pragma: keep +#include "nvim/eval/typval_defs.h" // IWYU pragma: keep #include "nvim/func_attr.h" -#include "nvim/mbyte_defs.h" -#include "nvim/os/os_defs.h" -#include "nvim/types.h" +#include "nvim/mbyte_defs.h" // IWYU pragma: export +#include "nvim/os/os_defs.h" // IWYU pragma: export +#include "nvim/types_defs.h" // IWYU pragma: keep // Return byte length of character that starts with byte "b". // Returns 1 for a single-byte character. @@ -38,4 +38,3 @@ static inline int mb_strcmp_ic(bool ic, const char *s1, const char *s2) { return (ic ? mb_stricmp(s1, s2) : strcmp(s1, s2)); } -#endif // NVIM_MBYTE_H |