aboutsummaryrefslogtreecommitdiffstats
path: root/src/lush.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lush.h')
-rw-r--r--src/lush.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lush.h b/src/lush.h
index d067b36..9ca9722 100644
--- a/src/lush.h
+++ b/src/lush.h
@@ -19,6 +19,8 @@ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#define LUSH_H
#include <lua.h>
+#include <stdbool.h>
+
#define LUSH_LUA 5
// alias
@@ -53,6 +55,10 @@ int lush_execute_chain(lua_State *L, char ***commands, int num_commands);
void lush_format_prompt(const char *prompt_format);
+// enable for autocomplete text set in init.lua
+// initialized in the lua_api
+extern bool suggestion_enable;
+
// format spec for the prompt
extern char *prompt_format;