This commit is contained in:
Grace Petryk 2025-05-05 19:31:28 -07:00
parent cdafb14f03
commit cb37953cdc
2 changed files with 5 additions and 5 deletions

View File

@ -93,7 +93,7 @@ local function wrap_node_or_nil(fn)
end
end
---Invoke a member"s method on the singleton explorer.
---Invoke a member's method on the singleton explorer.
---Print error when setup not called.
---@param explorer_member string explorer member name
---@param member_method string method name to invoke on member
@ -120,7 +120,7 @@ local function wrap_explorer_filter_function(filter_api_method)
end)
end
---Invoke a member"s method on the singleton explorer.
---Invoke a member's method on the singleton explorer.
---Print error when setup not called.
---@param explorer_member string explorer member name
---@param member_method string method name to invoke on member

View File

@ -191,13 +191,13 @@ function Filters:bookmark(path)
end
if path_type == "directory" then
-- check if path is mark"s parent
-- check if path is mark's parent
if vim.fn.stridx(mark, mark_parent) == 0 then
return false
end
end
if mark_type == "directory" then
-- check if mark is path"s parent
-- check if mark is path's parent
local path_parent = utils.path_add_trailing(mark)
if vim.fn.stridx(path, path_parent) == 0 then
return false
@ -211,7 +211,7 @@ end
---@param path string
---@return boolean
function Filters:custom(path)
-- filter user"s custom function
-- filter user's custom function
if type(self.custom_function) == "function" then
return self.custom_function(path)
end