mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
b9a513ae11
fix(fs): make `normalize()` work with '/' path
Problem: Current implementation of "remove trailing /" doesn't
account for the case of literal '/' as path.
Solution: Remove trailing / only if it preceded by something else.
(cherry picked from commit
|
||
---|---|---|
.. | ||
nvim | ||
vim | ||
_vim9script.lua | ||
editorconfig.lua | ||
man.lua |