diff options
author | 2013-08-26 22:39:36 -0400 | |
---|---|---|
committer | 2013-08-26 22:39:36 -0400 | |
commit | 1e9a3d23740844003d6ef06f7a92ccbba11c71f8 (patch) | |
tree | eee543627250334ce74e715e64705d15704b0d60 /doc/08_Preferences.md | |
parent | 92a1e1cae3029a3c4dde56c8dcc5d212fdc11e26 (diff) | |
download | textadept-1e9a3d23740844003d6ef06f7a92ccbba11c71f8.tar.gz textadept-1e9a3d23740844003d6ef06f7a92ccbba11c71f8.zip |
Forgot to update some documentation with newly renamed `LEXER_LOADED` event.
Diffstat (limited to 'doc/08_Preferences.md')
-rw-r--r-- | doc/08_Preferences.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/08_Preferences.md b/doc/08_Preferences.md index 46db35a3..9495a747 100644 --- a/doc/08_Preferences.md +++ b/doc/08_Preferences.md @@ -68,11 +68,10 @@ code in place of its own. However, if you make custom changes to that module and upgrade Textadept later, the module may no longer be compatible. Rather than potentially wasting time merging changes, run custom code independent of a module in the module's *post_init.lua* file. In this case, instead of copying -the `lua` module and creating an `events.LANGUAGE_MODULE_LOADED` event handler -to use tabs, simply put the event handler in -*~/.textadept/modules/lua/post_init.lua*: +the `lua` module and creating an `events.LEXER_LOADED` event handler to use +tabs, simply put the event handler in *~/.textadept/modules/lua/post_init.lua*: - events.connect(events.LANGUAGE_MODULE_LOADED, function(lang) + events.connect(events.LEXER_LOADED, function(lang) if lang == 'lua' then buffer.use_tabs = true end end) |