fix(docs): typos (#1470)

This commit is contained in:
Kian-Meng Ang
2022-07-27 19:48:14 +08:00
committed by GitHub
parent e632ac7c81
commit 2928f8fe31
5 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
-- @deprecated: new implemention in nvim-tree.keymap. Please do not edit this file.
-- @deprecated: new implementation in nvim-tree.keymap. Please do not edit this file.
local a = vim.api

View File

@@ -49,7 +49,7 @@ end
-- when it has no real reason to. Maybe there is a reason, but errno is definitely wrong.
-- So we need to check for link_to ~= nil when adding new links to the main tree
function M.link(parent, absolute_path, name)
--- I dont know if this is needed, because in my understanding, there isnt hard links in windows, but just to be sure i changed it.
--- I dont know if this is needed, because in my understanding, there isn't hard links in windows, but just to be sure i changed it.
local link_to = uv.fs_realpath(absolute_path)
local open, nodes, has_children, watcher
if (link_to ~= nil) and uv.fs_stat(link_to).type == "directory" then

View File

@@ -314,7 +314,7 @@ local function timer_stop_close(timer)
end
end
---Execute callback timeout ms after the lastest invocation with context.
---Execute callback timeout ms after the latest invocation with context.
---Waiting invocations for that context will be discarded.
---Invocation will be rescheduled while a callback is being executed.
---Caller must ensure that callback performs the same or functionally equivalent actions.