doc: spelling (#2070)

This commit is contained in:
Zhizhen He 2023-03-21 13:39:45 +08:00 committed by GitHub
parent a50723e35f
commit aa9971768a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -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)
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)

View File

@ -1551,7 +1551,7 @@ Mouse support is defined in |KeyBindings|
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*

View File

@ -88,8 +88,8 @@ local function get_links()
end
function M.setup()
local higlight_groups = get_hl_groups()
for k, d in pairs(higlight_groups) do
local highlight_groups = get_hl_groups()
for k, d in pairs(highlight_groups) do
local gui = d.gui and " gui=" .. d.gui or ""
local fg = d.fg and " guifg=" .. d.fg or ""
local bg = d.bg and " guibg=" .. d.bg or ""

View File

@ -131,7 +131,7 @@ local function node_comparator_name_ignorecase_or_not(a, b, ignorecase)
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)
end
@ -194,7 +194,7 @@ function M.setup(opts)
elseif M.sort_by == "modification_time" then
M.node_comparator = M.node_comparator_modification_time
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
M.node_comparator = M.node_comparator_extension
else