diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-03 17:44:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-03 09:44:04 +0000 |
commit | ae0e4071a8c90f96a66efc07f421fa7bf15f27f6 (patch) | |
tree | 220387063371db5cdaa47a0db9971f67863790c5 /scripts/luacats_parser.lua | |
parent | 7eba016c86818c5f6fa1542500b19d27bb7ab15c (diff) | |
download | rneovim-ae0e4071a8c90f96a66efc07f421fa7bf15f27f6.tar.gz rneovim-ae0e4071a8c90f96a66efc07f421fa7bf15f27f6.tar.bz2 rneovim-ae0e4071a8c90f96a66efc07f421fa7bf15f27f6.zip |
vim-patch:9.1.0755: quickfix list does not handle hardlinks well (#30637)
Problem: quickfix list does not handle hardlinks well
Solution: store original file name with quickfix entry
(Austin Chang)
Quickfix list shows entries with duplicate name if the file is opened
with the path of hard links.
The major cause is that qflist assumed that the filename passed into
`qf_add_entry` matches the filename opened with the buffer.
This patch handles this case by introduce a `qf_fname` into `qfline_S`
structure. It stores the filename from `qf_add_entry` for each quickfix
line.
closes: vim/vim#15687
https://github.com/vim/vim/commit/29822996996550f68a781e85753ebd4d177f22da
Co-authored-by: Austin Chang <austin880625@gmail.com>
Diffstat (limited to 'scripts/luacats_parser.lua')
0 files changed, 0 insertions, 0 deletions