mirror of
https://github.com/neovim/neovim.git
synced 2026-05-24 05:40:08 +00:00
Problem:61e99217e6replaced usages of `vim.fn`. This duplicates non-trivial logic and may have introduced bugs like38e38d1b40. Later on,b02eeb6a72graduated `fnamemodify` to `fast`, so avoiding it in `vim.fs` is no longer necessary. Solution: Use `vim.fn` to deduplicate `vim.fs.dirname()` and `vim.fs.basename()`. Note: the "nvim -l" test-runner switch from the original PR (#30483) is already done by9432e6c1e2(#39676).