aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/._M.luadoc5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/._M.luadoc b/core/._M.luadoc
index 587898c9..a34223b3 100644
--- a/core/._M.luadoc
+++ b/core/._M.luadoc
@@ -53,10 +53,9 @@
--
-- By default, Textadept uses 2 spaces as indentation. If your language has
-- different indentation guidelines, change them from an
--- `events.LANGUAGE_MODULE_LOADED` event handler. Using tabs of width 8 would
--- look like
+-- `events.LEXER_LOADED` event handler. Using tabs of width 8 would look like
--
--- events.connect(events.LANGUAGE_MODULE_LOADED, function(lang)
+-- events.connect(events.LEXER_LOADED, function(lang)
-- if lang == 'lua' then
-- buffer.tab_width = 8
-- buffer.use_tabs = true