From 68a899b8faf83cc7c0f00def991acb28dc6d7135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 10 Jan 2017 20:57:55 +0100 Subject: vis: add valid marks to :help output --- vis-core.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vis-core.h') diff --git a/vis-core.h b/vis-core.h index 292584b..982cda3 100644 --- a/vis-core.h +++ b/vis-core.h @@ -209,12 +209,18 @@ enum VisEvents { bool vis_event_emit(Vis*, enum VisEvents, ...); +typedef struct { + char name; + const char *help; +} MarkDef; + /** stuff used by multiple of the vis-* files */ extern Mode vis_modes[VIS_MODE_INVALID]; extern const Movement vis_motions[VIS_MOVE_INVALID]; extern const Operator vis_operators[VIS_OP_INVALID]; extern const TextObject vis_textobjects[VIS_TEXTOBJECT_INVALID]; +extern const MarkDef vis_marks[VIS_MARK_a]; void macro_operator_stop(Vis *vis); void macro_operator_record(Vis *vis); -- cgit v1.2.3