summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h
index 20c7d74..35467e7 100644
--- a/src/command.h
+++ b/src/command.h
@@ -176,6 +176,11 @@ struct command *lookup_command_by_hash(struct commands *commands,
int32_t find_file(struct command_ctx ctx, int argc, const char *argv[]);
/**
+ * Write the active buffer to a file
+ */
+int32_t write_file(struct command_ctx ctx, int argc, const char *argv[]);
+
+/**
* Run a command interactively from the minibuffer.
*/
int32_t run_interactive(struct command_ctx ctx, int argc, const char *argv[]);