diff options
author | 2012-01-05 05:20:39 -0500 | |
---|---|---|
committer | 2012-01-05 05:20:39 -0500 | |
commit | 2ab6deaecb4576c932dd63186927e9481bf5dedc (patch) | |
tree | 2574adf1f9c7a789456c1e467c0d98a17a4609b6 /doc/manual/9_Preferences.md | |
parent | 6143b96a6d71a0d8d04ed7d4ddc3696a141112c7 (diff) | |
download | textadept-2ab6deaecb4576c932dd63186927e9481bf5dedc.tar.gz textadept-2ab6deaecb4576c932dd63186927e9481bf5dedc.zip |
Rename '_m' to '_M'.
Diffstat (limited to 'doc/manual/9_Preferences.md')
-rw-r--r-- | doc/manual/9_Preferences.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/manual/9_Preferences.md b/doc/manual/9_Preferences.md index 6e24daee..bd7fedbd 100644 --- a/doc/manual/9_Preferences.md +++ b/doc/manual/9_Preferences.md @@ -14,11 +14,11 @@ to load alongside the default modules, your `~/.textadept/init.lua` would contain require 'textadept' - _m.foo = require 'foo' + _M.foo = require 'foo' -Please note that the `textadept` module populates the `_m.textadept` table +Please note that the `textadept` module populates the `_M.textadept` table itself because of internal dependencies. Normally, modules do not do this, hence -why `_m.foo = require 'foo'` is used. +why `_M.foo = require 'foo'` is used. If instead you wanted to load all of Textadept's default modules except for the menu, copy the `textadept` module's `init.lua` (located in the @@ -46,8 +46,8 @@ whitespace stripping on save, your `~/.textadept/init.lua` might look like: require 'textadept' - _m.textadept.editing.AUTOPAIR = false - _m.textadept.editing.STRIP_WHITESPACE_ON_SAVE = false + _M.textadept.editing.AUTOPAIR = false + _M.textadept.editing.STRIP_WHITESPACE_ON_SAVE = false #### Other |