diff options
Diffstat (limited to 'core')
-rwxr-xr-x | core/._m.luadoc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/._m.luadoc b/core/._m.luadoc index 8eb1e784..0a6839d3 100755 --- a/core/._m.luadoc +++ b/core/._m.luadoc @@ -71,6 +71,19 @@ module('_m') -- buffer.indent = 2 -- end -- +-- #### Context Menu (Optional) +-- +-- Language-specific context menus, accessible by right-clicking inside the +-- view, can be defined as: +-- +-- context_menu = { +-- { 'label1', action1 }, +-- { 'label2', action2 }, +-- ... +-- } +-- +-- See `modules/textadept/menu.lua` for examples on how to define menus. +-- -- ## Modules and Key Commands -- -- When assigning [key commands](../modules/_m.textadept.keys.html) to module |