diff options
Diffstat (limited to 'core/.textadept.lua')
-rw-r--r-- | core/.textadept.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/.textadept.lua b/core/.textadept.lua index db628ce3..011c70aa 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -89,3 +89,9 @@ function check_focused_buffer(buffer) end --- -- Prints a message to the error buffer. 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. +function reset() end |