aboutsummaryrefslogtreecommitdiff
path: root/config/filebrowser_plugin.c
diff options
context:
space:
mode:
authorDavid Moc <personal@cdatgoose.org>2026-05-31 03:47:04 +0200
committerDavid Moc <personal@cdatgoose.org>2026-05-31 03:47:04 +0200
commit6aeaa171dc1ca43392f53cbd02097f76e1b1c5a0 (patch)
treeb16f559f5a701123ebe7b15ecebb9325263b4a3c /config/filebrowser_plugin.c
parente930cc6bdc7f62befac063d7d9d016ffb0a64f1a (diff)
Hardened API, tetris, MD-View
Diffstat (limited to 'config/filebrowser_plugin.c')
-rw-r--r--config/filebrowser_plugin.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/config/filebrowser_plugin.c b/config/filebrowser_plugin.c
new file mode 100644
index 0000000..fb92cef
--- /dev/null
+++ b/config/filebrowser_plugin.c
@@ -0,0 +1,20 @@
+/* Compatibility shim.
+
+ The file browser is now built into the editor core and registered during
+ startup as these commands:
+ - file-browser
+ - file-browser-here
+ - file-browser-refresh
+ - file-browser-open
+ - file-browser-preview
+ - file-browser-toggle-preview
+
+ Old configs that still include this file can keep doing so safely. */
+#ifndef ECEX_FILEBROWSER_PLUGIN_C
+#define ECEX_FILEBROWSER_PLUGIN_C
+#include "ecex.h"
+static int ecex_filebrowser_plugin_init(ecex_t *ed) {
+ (void)ed;
+ return 0;
+}
+#endif