diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-10-05 12:53:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-05 12:53:44 -0400 |
| commit | cb075627fe76589f68ea5c0ebf99ca89d6ab7b5b (patch) | |
| tree | d98bf22663b9d64dbc14ee28656a268a37a3e9c5 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | b4b959bf3fc58e697d676ec5edc785a73b9e8725 (diff) | |
| download | rneovim-cb075627fe76589f68ea5c0ebf99ca89d6ab7b5b.tar.gz rneovim-cb075627fe76589f68ea5c0ebf99ca89d6ab7b5b.tar.bz2 rneovim-cb075627fe76589f68ea5c0ebf99ca89d6ab7b5b.zip | |
fix(vim.fs): find{follow=true} skips symlink targets of the given `type` #42246
Problem:
`vim.fs.find()` checks `type` against the symlink itself, so
`{ type='file', follow=true }` skips symlinked files (e.g. `:helptags`).
Solution:
With `follow=true`, a symlink has the type of its target. Thus
`type='link'` only matches broken symlinks (like `find -L -type l`).
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions