aboutsummaryrefslogtreecommitdiff
path: root/config/filebrowser_plugin.c
diff options
context:
space:
mode:
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