diff options
author | 2013-08-24 14:26:24 -0400 | |
---|---|---|
committer | 2013-08-24 14:26:24 -0400 | |
commit | 2052c77111051972d8171d27c8d4c501803e70d6 (patch) | |
tree | a38f24f35a3a4dc06f32eb365f439fc2b3918ea7 /modules/lua/adeptsensedoc.lua | |
parent | 58e1d2b46d09b79ad9c43ae177057c8578294649 (diff) | |
download | textadept-2052c77111051972d8171d27c8d4c501803e70d6.tar.gz textadept-2052c77111051972d8171d27c8d4c501803e70d6.zip |
Include Scintilla constants in `buffer`s.
Diffstat (limited to '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 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('^(.-)%.([^%.]+)$') |