aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/dir.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-07-01 09:48:54 -0400
committerGitHub <noreply@github.com>2026-07-01 09:48:54 -0400
commit12ea9735f77b81f0fecc7abe712639f88889f7f3 (patch)
treed66c255014a514a403e15ae6b032e046384e71ad /runtime/plugin/dir.lua
parentfa9b3381bcf7d5cb91ba32aa83512e19b4965c3f (diff)
downloadrneovim-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