diff options
author | 2019-11-07 23:04:18 -0500 | |
---|---|---|
committer | 2019-11-07 23:04:18 -0500 | |
commit | e7d1e26a6db30304f61a59702cbca2f92d673af0 (patch) | |
tree | f35310bc03ac997178e00c50ee465fe0c8f4958d /modules/lua/tadoc.lua | |
parent | 8778e3c1864dcd8ef1ae6669be446bb1b2ee2d18 (diff) | |
download | textadept-e7d1e26a6db30304f61a59702cbca2f92d673af0.tar.gz textadept-e7d1e26a6db30304f61a59702cbca2f92d673af0.zip |
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.
Diffstat (limited to 'modules/lua/tadoc.lua')
-rw-r--r-- | modules/lua/tadoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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' |