aboutsummaryrefslogtreecommitdiff
path: root/core/.textadept.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/.textadept.lua')
-rw-r--r--core/.textadept.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/.textadept.lua b/core/.textadept.lua
index 7807c70b..07d1f436 100644
--- a/core/.textadept.lua
+++ b/core/.textadept.lua
@@ -90,4 +90,7 @@ function print(...) end
-- Resets the Lua state by reloading all init scripts.
-- This is useful for modifying init scripts (such as key_commands.lua) on the
-- fly without having to restart Textadept.
+-- A global RESETTING variable is set to true when re-initing the Lua State. Any
+-- scripts that need to differentiate between startup and reset can utilize this
+-- variable.
function reset() end