diff options
Diffstat (limited to 'script/core/semantic-tokens.lua')
-rw-r--r-- | script/core/semantic-tokens.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/script/core/semantic-tokens.lua b/script/core/semantic-tokens.lua index e6b35cdd..668103f7 100644 --- a/script/core/semantic-tokens.lua +++ b/script/core/semantic-tokens.lua @@ -98,6 +98,13 @@ Care['doc.return.name'] = function (source, results) type = define.TokenTypes.parameter, } end +Care['doc.tailcomment'] = function (source, results) + results[#results+1] = { + start = source.start, + finish = source.finish, + type = define.TokenTypes.comment, + } +end local function buildTokens(results, text, lines) local tokens = {} |