Skip to content

Commit cb37953

Browse files
committed
typo
1 parent cdafb14 commit cb37953

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lua/nvim-tree/api.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ local function wrap_node_or_nil(fn)
9393
end
9494
end
9595

96-
---Invoke a member"s method on the singleton explorer.
96+
---Invoke a member's method on the singleton explorer.
9797
---Print error when setup not called.
9898
---@param explorer_member string explorer member name
9999
---@param member_method string method name to invoke on member
@@ -120,7 +120,7 @@ local function wrap_explorer_filter_function(filter_api_method)
120120
end)
121121
end
122122

123-
---Invoke a member"s method on the singleton explorer.
123+
---Invoke a member's method on the singleton explorer.
124124
---Print error when setup not called.
125125
---@param explorer_member string explorer member name
126126
---@param member_method string method name to invoke on member

lua/nvim-tree/explorer/filters.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,13 @@ function Filters:bookmark(path)
191191
end
192192

193193
if path_type == "directory" then
194-
-- check if path is mark"s parent
194+
-- check if path is mark's parent
195195
if vim.fn.stridx(mark, mark_parent) == 0 then
196196
return false
197197
end
198198
end
199199
if mark_type == "directory" then
200-
-- check if mark is path"s parent
200+
-- check if mark is path's parent
201201
local path_parent = utils.path_add_trailing(mark)
202202
if vim.fn.stridx(path, path_parent) == 0 then
203203
return false
@@ -211,7 +211,7 @@ end
211211
---@param path string
212212
---@return boolean
213213
function Filters:custom(path)
214-
-- filter user"s custom function
214+
-- filter user's custom function
215215
if type(self.custom_function) == "function" then
216216
return self.custom_function(path)
217217
end

0 commit comments

Comments
 (0)