aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/syntax_defs.h')
-rw-r--r--src/nvim/syntax_defs.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/nvim/syntax_defs.h b/src/nvim/syntax_defs.h
index 526be905e9..a005f67209 100644
--- a/src/nvim/syntax_defs.h
+++ b/src/nvim/syntax_defs.h
@@ -21,9 +21,7 @@ struct sp_syn {
int16_t *cont_in_list; // cont.in group IDs, if non-zero
};
-/*
- * Each keyword has one keyentry, which is linked in a hash list.
- */
+// Each keyword has one keyentry, which is linked in a hash list.
typedef struct keyentry keyentry_T;
struct keyentry {
@@ -35,9 +33,7 @@ struct keyentry {
char_u keyword[1]; // actually longer
};
-/*
- * Struct used to store one state of the state stack.
- */
+// Struct used to store one state of the state stack.
typedef struct buf_state {
int bs_idx; // index of pattern
int bs_flags; // flags for pattern
@@ -46,10 +42,8 @@ typedef struct buf_state {
reg_extmatch_T *bs_extmatch; // external matches from start pattern
} bufstate_T;
-/*
- * syn_state contains the syntax state stack for the start of one line.
- * Used by b_sst_array[].
- */
+// syn_state contains the syntax state stack for the start of one line.
+// Used by b_sst_array[].
struct syn_state {
synstate_T *sst_next; // next entry in used or free list
linenr_T sst_lnum; // line number for this state
@@ -66,4 +60,4 @@ struct syn_state {
// may have made the state invalid
};
-#endif // NVIM_SYNTAX_DEFS_H
+#endif // NVIM_SYNTAX_DEFS_H