mirror of
https://github.com/neovim/neovim.git
synced 2026-02-09 05:18:45 +00:00
fix: misc typos #37471
This commit is contained in:
@@ -809,8 +809,8 @@ function M.relpath(base, target, opts)
|
||||
vim.validate('target', target, 'string')
|
||||
vim.validate('opts', opts, 'table', true)
|
||||
|
||||
base = vim.fs.normalize(vim.fs.abspath(base))
|
||||
target = vim.fs.normalize(vim.fs.abspath(target))
|
||||
base = M.normalize(M.abspath(base))
|
||||
target = M.normalize(M.abspath(target))
|
||||
if base == target then
|
||||
return '.'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user