diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-03-09 15:00:41 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-03-09 15:00:41 -0700 |
commit | 7a7f497b483cd65e340064f23ed1c73425ecba0a (patch) | |
tree | d5c99ea22a1e10300d06165f8ac96df6b0dc59e1 /src/nvim/syntax_defs.h | |
parent | 1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (diff) | |
parent | ade1b12f49c3b3914c74847d791eb90ea90b56b7 (diff) | |
download | rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.gz rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.bz2 rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.zip |
Merge remote-tracking branch 'upstream/master' into aucmd_textputpost
Diffstat (limited to 'src/nvim/syntax_defs.h')
-rw-r--r-- | src/nvim/syntax_defs.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/nvim/syntax_defs.h b/src/nvim/syntax_defs.h index ae4997154e..94ca2c4cba 100644 --- a/src/nvim/syntax_defs.h +++ b/src/nvim/syntax_defs.h @@ -1,6 +1,6 @@ #pragma once -#include "nvim/highlight_defs.h" +#include "nvim/buffer_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 +8,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 @@ -33,7 +28,7 @@ struct keyentry { }; // Struct used to store one state of the state stack. -typedef struct buf_state { +typedef struct { int bs_idx; // index of pattern int bs_flags; // flags for pattern int bs_seqnr; // stores si_seqnr |