Skip to content

Commit 2928f8f

Browse files
authored
fix(docs): typos (#1470)
1 parent e632ac7 commit 2928f8f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Diff for: doc/nvim-tree-lua.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ Completely disable netrw
346346
Type: `boolean`, Default: `false`
347347

348348
*nvim-tree.hijack_netrw*
349-
Hijack netrw windows (overriden if |disable_netrw| is `true`)
349+
Hijack netrw windows (overridden if |disable_netrw| is `true`)
350350
Type: `boolean`, Default: `true`
351351

352352
*nvim-tree.open_on_setup*
@@ -883,7 +883,7 @@ The filter can be cleared with the `F` key by default.
883883
Type: `string`, Default: `"[FILTER]: "`
884884

885885
*nvim-tree.live_filter.always_show_folders*
886-
Wether to filter folders or not.
886+
Whether to filter folders or not.
887887
Type: `boolean`, Default: `true`
888888

889889
*nvim-tree.log*
@@ -970,7 +970,7 @@ Going up a dir is bound to `-` by default in nvim-tree which is identical to
970970
vinegar, no change is needed here.
971971

972972
You'll also need to set |nvim-tree.hijack_netrw| to `true` during setup.
973-
A good functionnality to enable is |nvim-tree.hijack_directories|.
973+
A good functionality to enable is |nvim-tree.hijack_directories|.
974974

975975
==============================================================================
976976
5. API *nvim-tree-api*

Diff for: lua/nvim-tree/actions/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- @deprecated: new implemention in nvim-tree.keymap. Please do not edit this file.
1+
-- @deprecated: new implementation in nvim-tree.keymap. Please do not edit this file.
22

33
local a = vim.api
44

Diff for: lua/nvim-tree/explorer/node-builders.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ end
4949
-- when it has no real reason to. Maybe there is a reason, but errno is definitely wrong.
5050
-- So we need to check for link_to ~= nil when adding new links to the main tree
5151
function M.link(parent, absolute_path, name)
52-
--- 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.
52+
--- 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.
5353
local link_to = uv.fs_realpath(absolute_path)
5454
local open, nodes, has_children, watcher
5555
if (link_to ~= nil) and uv.fs_stat(link_to).type == "directory" then

Diff for: lua/nvim-tree/utils.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ local function timer_stop_close(timer)
314314
end
315315
end
316316

317-
---Execute callback timeout ms after the lastest invocation with context.
317+
---Execute callback timeout ms after the latest invocation with context.
318318
---Waiting invocations for that context will be discarded.
319319
---Invocation will be rescheduled while a callback is being executed.
320320
---Caller must ensure that callback performs the same or functionally equivalent actions.

Diff for: scripts/update-help.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# run after changing nvim-tree.lua DEFAULT_OPTS or nvim-tree/actions/init.lua M.mappings
44
# scrapes and updates nvim-tree-lua.txt
5-
# run from repositry root: scripts/update-default-opts.sh
5+
# run from repository root: scripts/update-default-opts.sh
66

77

88
begin="BEGIN_DEFAULT_OPTS"

0 commit comments

Comments
 (0)