diff options
| author | Yochem van Rosmalen <git@yochem.nl> | 2025-11-21 00:29:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-20 15:29:55 -0800 |
| commit | e49a59259507fcddca6f9028864ff2523707b3b0 (patch) | |
| tree | d43cbcb601b0c97c0c89547e7e87f621f90fcb5e /test/functional/vimscript/executable_spec.lua | |
| parent | ea70d2ad8581fab6ea8cc264df5d01c799550e52 (diff) | |
| download | rneovim-e49a59259507fcddca6f9028864ff2523707b3b0.tar.gz rneovim-e49a59259507fcddca6f9028864ff2523707b3b0.tar.bz2 rneovim-e49a59259507fcddca6f9028864ff2523707b3b0.zip | |
fix(help): retry once if async parsing fails #36592
Problem:
If the buffer changes during iteration of the query matches,
`get_node_text()` may fail, showing an error to the user.
Solution:
Use `pcall` to not propogate the error to the user. Retry once if an
error occurred.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions