refactor: adjust headers according to the style guide (#23934)

System headers should be included first to prevent naming conflicts.
This commit is contained in:
dundargoc
2023-06-06 14:00:32 +02:00
committed by GitHub
parent 7b973c71ea
commit f5d12889e8
9 changed files with 33 additions and 32 deletions

View File

@@ -18,6 +18,7 @@ typedef struct {
#include "klib/kvec.h"
#include "nvim/api/private/defs.h"
#include "nvim/eval/typval_defs.h"
#include "nvim/extmark_defs.h"
#include "nvim/garray.h"
#include "nvim/grid_defs.h"
#include "nvim/hashtab.h"
@@ -25,9 +26,6 @@ typedef struct {
#include "nvim/map.h"
#include "nvim/mark_defs.h"
#include "nvim/marktree.h"
// for float window title
#include "nvim/extmark_defs.h"
// for click definitions
#include "nvim/option_defs.h"
#include "nvim/pos.h"
#include "nvim/statusline_defs.h"