diff options
author | 2013-05-22 11:35:48 -0400 | |
---|---|---|
committer | 2013-05-22 11:35:48 -0400 | |
commit | 3a2f0d8d16025cc0732939d55ad61aa278bea36b (patch) | |
tree | d1b3fbf265f087bf2107e5a5530937ddc23cc56a | |
parent | 182ea5cf7895441c7f453d227f2c44c5c62930fd (diff) | |
download | textadept-3a2f0d8d16025cc0732939d55ad61aa278bea36b.tar.gz textadept-3a2f0d8d16025cc0732939d55ad61aa278bea36b.zip |
Fixed tags for global tables within modules; modules/lua/adeptsensedoc.lua
-rw-r--r-- | modules/lua/adeptsensedoc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/lua/adeptsensedoc.lua b/modules/lua/adeptsensedoc.lua index d1a436b8..7bcd57a5 100644 --- a/modules/lua/adeptsensedoc.lua +++ b/modules/lua/adeptsensedoc.lua @@ -230,7 +230,8 @@ function M.start(doc) local module = module -- define locally so any modification stays local if t:find('^_G%.') then module, t = t:match('^_G%.(.-)%.?([^%.]+)$') end if not module then print(table.name) end - local ext_fields = module == '_G' and '' or 'class:'..module + local ext_fields = (module == '_G' or module == '') and '' or + 'class:'..module write_tag(ctags, t, 't', ext_fields) write_apidoc(apidoc, m, table) -- Tag the fields of the tables. |