From e7d1e26a6db30304f61a59702cbca2f92d673af0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 7 Nov 2019 23:04:18 -0500 Subject: Split Lua and Textadept autocompletion and documentation files. Textadept autocompletion and documentation is now only performed on Textadept files. Modified the LuaDoc doclet to only process "lua.luadoc" on its own, and updated the Makefile rule accordingly. --- modules/lua/tadoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/lua/tadoc.lua') diff --git a/modules/lua/tadoc.lua b/modules/lua/tadoc.lua index b964523c..04ff8ef5 100644 --- a/modules/lua/tadoc.lua +++ b/modules/lua/tadoc.lua @@ -134,7 +134,7 @@ function M.start(doc) -- Convert module functions in the Lua luadoc into LuaDoc modules. local lua_luadoc = files['../modules/lua/lua.luadoc'] - if lua_luadoc then + if lua_luadoc and #files == 1 then for i = 1, #lua_luadoc.functions do local f = lua_luadoc.functions[lua_luadoc.functions[i]] local module_name = f.name:match('^([^%.:]+)[%.:]') or '_G' -- cgit v1.2.3