fix(docs): typos (#1470)
This commit is contained in:
parent
e632ac7c81
commit
2928f8fe31
@ -346,7 +346,7 @@ Completely disable netrw
|
|||||||
Type: `boolean`, Default: `false`
|
Type: `boolean`, Default: `false`
|
||||||
|
|
||||||
*nvim-tree.hijack_netrw*
|
*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`
|
Type: `boolean`, Default: `true`
|
||||||
|
|
||||||
*nvim-tree.open_on_setup*
|
*nvim-tree.open_on_setup*
|
||||||
@ -883,7 +883,7 @@ The filter can be cleared with the `F` key by default.
|
|||||||
Type: `string`, Default: `"[FILTER]: "`
|
Type: `string`, Default: `"[FILTER]: "`
|
||||||
|
|
||||||
*nvim-tree.live_filter.always_show_folders*
|
*nvim-tree.live_filter.always_show_folders*
|
||||||
Wether to filter folders or not.
|
Whether to filter folders or not.
|
||||||
Type: `boolean`, Default: `true`
|
Type: `boolean`, Default: `true`
|
||||||
|
|
||||||
*nvim-tree.log*
|
*nvim-tree.log*
|
||||||
@ -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.
|
vinegar, no change is needed here.
|
||||||
|
|
||||||
You'll also need to set |nvim-tree.hijack_netrw| to `true` during setup.
|
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*
|
5. API *nvim-tree-api*
|
||||||
|
|||||||
@ -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
|
local a = vim.api
|
||||||
|
|
||||||
|
|||||||
@ -49,7 +49,7 @@ end
|
|||||||
-- when it has no real reason to. Maybe there is a reason, but errno is definitely wrong.
|
-- 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
|
-- So we need to check for link_to ~= nil when adding new links to the main tree
|
||||||
function M.link(parent, absolute_path, name)
|
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 link_to = uv.fs_realpath(absolute_path)
|
||||||
local open, nodes, has_children, watcher
|
local open, nodes, has_children, watcher
|
||||||
if (link_to ~= nil) and uv.fs_stat(link_to).type == "directory" then
|
if (link_to ~= nil) and uv.fs_stat(link_to).type == "directory" then
|
||||||
|
|||||||
@ -314,7 +314,7 @@ local function timer_stop_close(timer)
|
|||||||
end
|
end
|
||||||
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.
|
---Waiting invocations for that context will be discarded.
|
||||||
---Invocation will be rescheduled while a callback is being executed.
|
---Invocation will be rescheduled while a callback is being executed.
|
||||||
---Caller must ensure that callback performs the same or functionally equivalent actions.
|
---Caller must ensure that callback performs the same or functionally equivalent actions.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# run after changing nvim-tree.lua DEFAULT_OPTS or nvim-tree/actions/init.lua M.mappings
|
# run after changing nvim-tree.lua DEFAULT_OPTS or nvim-tree/actions/init.lua M.mappings
|
||||||
# scrapes and updates nvim-tree-lua.txt
|
# 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"
|
begin="BEGIN_DEFAULT_OPTS"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user