aboutsummaryrefslogtreecommitdiff
path: root/modules/lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lua')
-rw-r--r--modules/lua/adeptsensedoc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/lua/adeptsensedoc.lua b/modules/lua/adeptsensedoc.lua
index 7bcd57a5..e31e1858 100644
--- a/modules/lua/adeptsensedoc.lua
+++ b/modules/lua/adeptsensedoc.lua
@@ -205,7 +205,8 @@ function M.start(doc)
local module = m.name
if not m.fake then
-- Tag the module and write the apidoc.
- write_tag(ctags, module, 'm', '')
+ local ext_fields = module ~= 'buffer' and '' or 'inherits:_SCINTILLA.constants'
+ write_tag(ctags, module, 'm', ext_fields)
if module:find('%.') then
-- Tag the last part of the module as a table of the first part.
local parent, child = module:match('^(.-)%.([^%.]+)$')