diff --git a/README.md b/README.md index 5c287e9f..b6e5a54d 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/doc/nvim-tree-lua.txt b/doc/nvim-tree-lua.txt index ae733b58..4f9f4143 100644 --- a/doc/nvim-tree-lua.txt +++ b/doc/nvim-tree-lua.txt @@ -1551,7 +1551,7 @@ Mouse support is defined in |KeyBindings| Single left mouse mappings can be achieved via ``. -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* diff --git a/lua/nvim-tree/colors.lua b/lua/nvim-tree/colors.lua index e10c7668..4bad006f 100644 --- a/lua/nvim-tree/colors.lua +++ b/lua/nvim-tree/colors.lua @@ -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 "" diff --git a/lua/nvim-tree/explorer/sorters.lua b/lua/nvim-tree/explorer/sorters.lua index be0d7fcf..ed144c00 100644 --- a/lua/nvim-tree/explorer/sorters.lua +++ b/lua/nvim-tree/explorer/sorters.lua @@ -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