diff options
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -14,6 +14,7 @@ typedef struct Win Win; #include "text-regex.h" #include "libutf.h" #include "array.h" +#include "buffer.h" #ifndef CONFIG_HELP #define CONFIG_HELP 1 @@ -1230,6 +1231,13 @@ bool vis_option_unregister(Vis *vis, const char *name); bool vis_prompt_cmd(Vis *vis, const char *cmd); /** + * Write newline separated list of available commands to ``buf`` + * @param vis The editor instance. + * @param buf The buffer to write to. + */ +void vis_print_cmds(Vis*, Buffer *buf); + +/** * Pipe a given file range to an external process. * @param vis The editor instance. * @param file The file to pipe. |
