mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
move SST_* defines to syntax_defs
This commit is contained in:
parent
eade8e283e
commit
7cdbca7789
@ -3,6 +3,12 @@
|
|||||||
|
|
||||||
#include "nvim/regexp_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 */
|
||||||
|
# define SST_FIX_STATES 7 /* size of sst_stack[]. */
|
||||||
|
# define SST_DIST 16 /* normal distance between entries */
|
||||||
|
# define SST_INVALID (synstate_T *)-1 /* invalid syn_state pointer */
|
||||||
|
|
||||||
/* struct passed to in_id_list() */
|
/* struct passed to in_id_list() */
|
||||||
struct sp_syn {
|
struct sp_syn {
|
||||||
int inc_tag; /* ":syn include" unique tag */
|
int inc_tag; /* ":syn include" unique tag */
|
||||||
|
@ -253,12 +253,6 @@ enum {
|
|||||||
# define gen_expand_wildcards mch_expand_wildcards
|
# define gen_expand_wildcards mch_expand_wildcards
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# define SST_MIN_ENTRIES 150 /* minimal size for state stack array */
|
|
||||||
# define SST_MAX_ENTRIES 1000 /* maximal size for state stack array */
|
|
||||||
# define SST_FIX_STATES 7 /* size of sst_stack[]. */
|
|
||||||
# define SST_DIST 16 /* normal distance between entries */
|
|
||||||
# define SST_INVALID (synstate_T *)-1 /* invalid syn_state pointer */
|
|
||||||
|
|
||||||
# define HL_CONTAINED 0x01 /* not used on toplevel */
|
# define HL_CONTAINED 0x01 /* not used on toplevel */
|
||||||
# define HL_TRANSP 0x02 /* has no highlighting */
|
# define HL_TRANSP 0x02 /* has no highlighting */
|
||||||
# define HL_ONELINE 0x04 /* match within one line only */
|
# define HL_ONELINE 0x04 /* match within one line only */
|
||||||
|
Loading…
Reference in New Issue
Block a user