fix: doc errors

This commit is contained in:
Lewis Russell
2023-07-17 16:39:57 +01:00
parent 69d49727d7
commit 6e9b204afb
5 changed files with 9 additions and 8 deletions

View File

@@ -363,6 +363,8 @@ function TLua2DoX_filter.filter(this, AppStamp, Filename)
magic = magic:gsub('^return%s+.*%((' .. type .. ')%)', 'return %1')
magic = magic:gsub('^return%s+.*%((' .. type .. '|nil)%)', 'return %1')
end
-- handle the return of vim.spell.check
magic = magic:gsub('({.*}%[%])', '`%1`')
magic_split = string_split(magic, ' ')
end