aboutsummaryrefslogtreecommitdiff
path: root/modules/lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lua')
-rw-r--r--modules/lua/init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/lua/init.lua b/modules/lua/init.lua
index f1b5d834..0351cc89 100644
--- a/modules/lua/init.lua
+++ b/modules/lua/init.lua
@@ -24,7 +24,6 @@ module('_M.lua')]]
-- 'F' as a module or table field.
-- @class table
-- @name tags
--- @see textadept.editing.autocomplete
M.tags = {_HOME..'/modules/lua/tags', _USERHOME..'/modules/lua/tags'}
---
@@ -96,8 +95,8 @@ local control_structure_patterns = {
---
-- Tries to autocomplete control structures like `if`, `while`, `for`, etc. with
-- the `end` keyword.
--- @see control_structure_patterns
-- @name try_to_autocomplete_end
+-- @see control_structure_patterns
function M.try_to_autocomplete_end()
local line_num = buffer:line_from_position(buffer.current_pos)
local line = buffer:get_line(line_num)