diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-07-01 09:48:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-01 09:48:54 -0400 |
| commit | 12ea9735f77b81f0fecc7abe712639f88889f7f3 (patch) | |
| tree | d66c255014a514a403e15ae6b032e046384e71ad /runtime/plugin/dir.lua | |
| parent | fa9b3381bcf7d5cb91ba32aa83512e19b4965c3f (diff) | |
| download | rneovim-12ea9735f77b81f0fecc7abe712639f88889f7f3.tar.gz rneovim-12ea9735f77b81f0fecc7abe712639f88889f7f3.tar.bz2 rneovim-12ea9735f77b81f0fecc7abe712639f88889f7f3.zip | |
refactor(path): path_skip_sep() #40524
Problem:
Redundant code.
Solution:
Add path_skip_sep() and use it.
Dropping MB_PTR_ADV is safe: the loops only advance while `*p` is
a one-byte separator (`/`, `\`, `:`). MB_PTR_ADV was needed in legacy
Vim because it supported non-UTF-8 (DBCS) *internal* encodings.
Diffstat (limited to 'runtime/plugin/dir.lua')
0 files changed, 0 insertions, 0 deletions