refactor: eliminate cyclic includes

This commit is contained in:
dundargoc
2023-12-20 14:32:22 +01:00
committed by dundargoc
parent cc6a257c8c
commit 0c120307ca
61 changed files with 107 additions and 70 deletions

View File

@@ -1,6 +1,9 @@
#pragma once
#include "nvim/buffer_defs.h"
#include "nvim/garray_defs.h"
#include "nvim/highlight_defs.h"
#include "nvim/regexp_defs.h"
#define SST_MIN_ENTRIES 150 // minimal size for state stack array
#define SST_MAX_ENTRIES 1000 // maximal size for state stack array
@@ -8,11 +11,6 @@
#define SST_DIST 16 // normal distance between entries
#define SST_INVALID ((synstate_T *)-1) // invalid syn_state pointer
typedef struct syn_state synstate_T;
#include "nvim/buffer_defs.h"
#include "nvim/regexp_defs.h"
// struct passed to in_id_list()
struct sp_syn {
int inc_tag; // ":syn include" unique tag