From 2052c77111051972d8171d27c8d4c501803e70d6 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 24 Aug 2013 14:26:24 -0400 Subject: Include Scintilla constants in `buffer`s. --- modules/lua/adeptsensedoc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/lua') 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('^(.-)%.([^%.]+)$') -- cgit v1.2.3