diff options
| author | Tomas Slusny <slusnucky@gmail.com> | 2025-10-12 20:25:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-12 18:25:14 +0000 |
| commit | c6113da5a9992881eddf98c985e6da888db76bc6 (patch) | |
| tree | a628f724f2705eba9c4e50dd7e6389d9b7f0067a /test/functional/vimscript/executable_spec.lua | |
| parent | 638d44ded8f6ea20965ee32f1897d766b6e1e913 (diff) | |
| download | rneovim-c6113da5a9992881eddf98c985e6da888db76bc6.tar.gz rneovim-c6113da5a9992881eddf98c985e6da888db76bc6.tar.bz2 rneovim-c6113da5a9992881eddf98c985e6da888db76bc6.zip | |
fix(difftool): fully resolve symlinks when comparing paths #36147
Fixes issue on mac where it was constantly reloading buffers as paths
were not being normalized and resolved correctly (in relation to buffer
name).
Quickfix entry:
/var/folders/pt/2s7dzyw12v36tsslrghfgpkr0000gn/T/git-difftool.m95lj8/right/app.vue
Buffer name:
/private/var/folders/pt/2s7dzyw12v36tsslrghfgpkr0000gn/T/git-difftool.m95lj8/right/app.vue
/var was synlinked to /private/var and this was not being properly
handled.
Also added lazy redraw to avoid too many redraws when this happens in
future and added test for symlink handling.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions