aboutsummaryrefslogtreecommitdiff
path: root/modules/lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-08-24 14:26:24 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-08-24 14:26:24 -0400
commit2052c77111051972d8171d27c8d4c501803e70d6 (patch)
treea38f24f35a3a4dc06f32eb365f439fc2b3918ea7 /modules/lua
parent58e1d2b46d09b79ad9c43ae177057c8578294649 (diff)
downloadtextadept-2052c77111051972d8171d27c8d4c501803e70d6.tar.gz
textadept-2052c77111051972d8171d27c8d4c501803e70d6.zip
Include Scintilla constants in `buffer`s.
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('^(.-)%.([^%.]+)$')