aboutsummaryrefslogtreecommitdiff
path: root/scripts/lua2dox.lua
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2022-10-23 10:17:45 +0200
committerzeertzjq <zeertzjq@outlook.com>2022-11-02 21:45:26 +0800
commit4716a578ae0c3516d685495bb55e40c939a4ac87 (patch)
treeee2734f0fe4e4d91f4f163ba99f64ce992948af9 /scripts/lua2dox.lua
parent44b88d8c310e778c55ef1f7a270d2651266054ca (diff)
downloadrneovim-4716a578ae0c3516d685495bb55e40c939a4ac87.tar.gz
rneovim-4716a578ae0c3516d685495bb55e40c939a4ac87.tar.bz2
rneovim-4716a578ae0c3516d685495bb55e40c939a4ac87.zip
docs: fix typos
Diffstat (limited to 'scripts/lua2dox.lua')
-rw-r--r--scripts/lua2dox.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lua2dox.lua b/scripts/lua2dox.lua
index 86afe97a7e..83bf213f40 100644
--- a/scripts/lua2dox.lua
+++ b/scripts/lua2dox.lua
@@ -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