aboutsummaryrefslogtreecommitdiff
path: root/core/ext/pm/macro_browser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/ext/pm/macro_browser.lua')
-rw-r--r--core/ext/pm/macro_browser.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/ext/pm/macro_browser.lua b/core/ext/pm/macro_browser.lua
index eab11842..75e9e91f 100644
--- a/core/ext/pm/macro_browser.lua
+++ b/core/ext/pm/macro_browser.lua
@@ -7,6 +7,8 @@ local textadept = _G.textadept
-- It is enabled with the prefix 'macros' in the project manager entry field.
module('textadept.pm.browsers.macro', package.seeall)
+textadept.pm.add_browser('macros')
+
function matches(entry_text)
return entry_text:sub(1, 7) == 'macros'
end