aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-09-23 06:05:58 -0700
committerGitHub <noreply@github.com>2024-09-23 06:05:58 -0700
commit47e6b2233feffc6e9d94f6086fb904eb5688fa25 (patch)
treef3c3e062ecd7aafef95ac0c77d038eb143aab074 /test/functional/api/vim_spec.lua
parent5acdc4499e2036c90172b2b085f207ee4d5cfee4 (diff)
downloadrneovim-47e6b2233feffc6e9d94f6086fb904eb5688fa25.tar.gz
rneovim-47e6b2233feffc6e9d94f6086fb904eb5688fa25.tar.bz2
rneovim-47e6b2233feffc6e9d94f6086fb904eb5688fa25.zip
fix(vim.fs): dirname() returns "." on mingw/msys2 #30480
Problem: `vim.fs.dirname([[C:\User\XXX\AppData\Local]])` returns "." on mingw/msys2. Solution: - Check for "mingw" when deciding `iswin`. - Use `has("win32")` where possible, it works in "fast" contexts since b02eeb6a7281df0561a021d7ae595c84be9a01be.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions