From 573c184b20dac1e8d5d5b659a04a2ea9744d6352 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 17 Mar 2020 15:03:09 -0400 Subject: Updated LuaDoc. --- core/._M.luadoc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'core') diff --git a/core/._M.luadoc b/core/._M.luadoc index bc6f81cf..80b127cd 100644 --- a/core/._M.luadoc +++ b/core/._M.luadoc @@ -65,11 +65,10 @@ -- properties. For example: -- -- events.connect(events.LEXER_LOADED, function(lexer) --- if lexer == 'python' then --- buffer.tab_width = 4 --- buffer.use_tabs = false --- buffer.view_ws = buffer.WS_VISIBLEALWAYS --- end +-- if lexer ~= 'python' then return end +-- buffer.tab_width = 4 +-- buffer.use_tabs = false +-- buffer.view_ws = buffer.WS_VISIBLEALWAYS -- end -- -- ## Autocompletion and Documentation @@ -95,12 +94,12 @@ -- -- ## Commands -- --- Additional editing features for the language can be useful. For example, the --- [C](#_M.ansi_c) module has a feature to add a ';' to the end of the current --- line and insert a new line. This command is bound to the `Shift+Enter` (`⇧↩` +-- Additional editing features for the language can be useful. For example, a +-- C++ module might have a feature to add a ';' to the end of the current line +-- and insert a new line. This command could be bound to the `Shift+Enter` (`⇧↩` -- on Mac OSX | `S-Enter` in curses) key for easy access: -- --- keys.ansi_c = { +-- keys.cpp = { -- ['s\n'] = function() -- buffer:line_end() -- buffer:add_text(';') -- cgit v1.2.3