doc: spelling (#2070)
This commit is contained in:
parent
a50723e35f
commit
aa9971768a
@ -118,9 +118,9 @@ Development is focused on:
|
|||||||
|
|
||||||
nvim-tree exposes a public API. This is non breaking, with additions made as necessary. See [:help nvim-tree-api](doc/nvim-tree-lua.txt)
|
nvim-tree exposes a public API. This is non breaking, with additions made as necessary. See [:help nvim-tree-api](doc/nvim-tree-lua.txt)
|
||||||
|
|
||||||
See wiki [Recipes](https://github.com/nvim-tree/nvim-tree.lua/wiki/Recipes) and [Tips](https://github.com/nvim-tree/nvim-tree.lua/wiki/Tips) for ideas and insipration.
|
See wiki [Recipes](https://github.com/nvim-tree/nvim-tree.lua/wiki/Recipes) and [Tips](https://github.com/nvim-tree/nvim-tree.lua/wiki/Tips) for ideas and inspiration.
|
||||||
|
|
||||||
Please raise a [feature request](https://github.com/nvim-tree/nvim-tree.lua/issues/new?assignees=&labels=feature+request&template=feature_request.md&title=) if the API is insufficent for your needs. [Contributions](#Contributing) are always welcome.
|
Please raise a [feature request](https://github.com/nvim-tree/nvim-tree.lua/issues/new?assignees=&labels=feature+request&template=feature_request.md&title=) if the API is insufficient for your needs. [Contributions](#Contributing) are always welcome.
|
||||||
|
|
||||||
You may also subscribe to events that nvim-tree will dispatch in a variety of situations, see [:help nvim-tree-events](doc/nvim-tree-lua.txt)
|
You may also subscribe to events that nvim-tree will dispatch in a variety of situations, see [:help nvim-tree-events](doc/nvim-tree-lua.txt)
|
||||||
|
|
||||||
|
|||||||
@ -1551,7 +1551,7 @@ Mouse support is defined in |KeyBindings|
|
|||||||
|
|
||||||
Single left mouse mappings can be achieved via `<LeftRelease>`.
|
Single left mouse mappings can be achieved via `<LeftRelease>`.
|
||||||
|
|
||||||
Single right / middle mouse mappings will requre changes to |mousemodel| or |mouse|.
|
Single right / middle mouse mappings will require changes to |mousemodel| or |mouse|.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
6.1 DEFAULT MAPPINGS *nvim-tree-mappings-default*
|
6.1 DEFAULT MAPPINGS *nvim-tree-mappings-default*
|
||||||
|
|||||||
@ -88,8 +88,8 @@ local function get_links()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function M.setup()
|
function M.setup()
|
||||||
local higlight_groups = get_hl_groups()
|
local highlight_groups = get_hl_groups()
|
||||||
for k, d in pairs(higlight_groups) do
|
for k, d in pairs(highlight_groups) do
|
||||||
local gui = d.gui and " gui=" .. d.gui or ""
|
local gui = d.gui and " gui=" .. d.gui or ""
|
||||||
local fg = d.fg and " guifg=" .. d.fg or ""
|
local fg = d.fg and " guifg=" .. d.fg or ""
|
||||||
local bg = d.bg and " guibg=" .. d.bg or ""
|
local bg = d.bg and " guibg=" .. d.bg or ""
|
||||||
|
|||||||
@ -131,7 +131,7 @@ local function node_comparator_name_ignorecase_or_not(a, b, ignorecase)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.node_comparator_name_case_sensisive(a, b)
|
function M.node_comparator_name_case_sensitive(a, b)
|
||||||
return node_comparator_name_ignorecase_or_not(a, b, false)
|
return node_comparator_name_ignorecase_or_not(a, b, false)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -194,7 +194,7 @@ function M.setup(opts)
|
|||||||
elseif M.sort_by == "modification_time" then
|
elseif M.sort_by == "modification_time" then
|
||||||
M.node_comparator = M.node_comparator_modification_time
|
M.node_comparator = M.node_comparator_modification_time
|
||||||
elseif M.sort_by == "case_sensitive" then
|
elseif M.sort_by == "case_sensitive" then
|
||||||
M.node_comparator = M.node_comparator_name_case_sensisive
|
M.node_comparator = M.node_comparator_name_case_sensitive
|
||||||
elseif M.sort_by == "extension" then
|
elseif M.sort_by == "extension" then
|
||||||
M.node_comparator = M.node_comparator_extension
|
M.node_comparator = M.node_comparator_extension
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user