aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorYochem van Rosmalen <git@yochem.nl>2025-11-21 00:29:55 +0100
committerGitHub <noreply@github.com>2025-11-20 15:29:55 -0800
commite49a59259507fcddca6f9028864ff2523707b3b0 (patch)
treed43cbcb601b0c97c0c89547e7e87f621f90fcb5e /test/functional/vimscript/executable_spec.lua
parentea70d2ad8581fab6ea8cc264df5d01c799550e52 (diff)
downloadrneovim-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