docs: fix typos

This commit is contained in:
dundargoc
2022-10-23 10:17:45 +02:00
committed by zeertzjq
parent 44b88d8c31
commit 4716a578ae
24 changed files with 40 additions and 40 deletions

View File

@ -497,14 +497,14 @@ function TLua2DoX_filter.readfile(this, AppStamp, Filename)
else
this:warning(inStream:getLineNo(), 'something weird here')
end
fn_magic = nil -- mustn't indavertently use it again
fn_magic = nil -- mustn't inadvertently use it again
-- TODO: If we can make this learn how to generate these, that would be helpful.
-- elseif string.find(line, "^M%['.*'%] = function") then
-- state = 'in_function' -- it's a function
-- outStream:writeln("function textDocument/publishDiagnostics(...){}")
-- fn_magic = nil -- mustn't indavertently use it again
-- fn_magic = nil -- mustn't inadvertently use it again
else
state = '' -- unknown
if #line > 0 then -- we don't know what this line means, so just comment it out