diff options
| author | phanium <91544758+phanen@users.noreply.github.com> | 2026-01-27 22:18:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-27 09:18:02 -0500 |
| commit | dfa5d79d05d82aeedc7c19f9b670f31e01e3aea0 (patch) | |
| tree | 22a686dc8e1ce474e447b895f520a3d6d42ae4db /runtime/lua/vim/fs.lua | |
| parent | ae93639ec440796073ea77941091c3ec83905cdc (diff) | |
fix: misc typos #37471
Diffstat (limited to 'runtime/lua/vim/fs.lua')
| -rw-r--r-- | runtime/lua/vim/fs.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/fs.lua b/runtime/lua/vim/fs.lua index 4baa6b02db..0deacc536c 100644 --- a/runtime/lua/vim/fs.lua +++ b/runtime/lua/vim/fs.lua @@ -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 |
