Skip to content

fix(docs): typos #1470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/nvim-tree-lua.txt
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Completely disable netrw
Type: `boolean`, Default: `false`

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

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

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

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

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

==============================================================================
5. API *nvim-tree-api*
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree/actions/init.lua
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree/explorer/node-builders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lua/nvim-tree/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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


begin="BEGIN_DEFAULT_OPTS"
Expand Down