aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/luaeval_spec.lua
diff options
context:
space:
mode:
authorBarrett Ruth <62671086+barrettruth@users.noreply.github.com>2026-05-20 03:48:55 -0400
committerGitHub <noreply@github.com>2026-05-20 03:48:55 -0400
commit5181984db990111c76d7d7bceb3d7acba7da4406 (patch)
tree8bba2371c93af0e3459723f2a73abceb7368a837 /test/functional/lua/luaeval_spec.lua
parentea8f1463ddd18cb95bb960c684aab6cd3cb4799b (diff)
downloadrneovim-5181984db990111c76d7d7bceb3d7acba7da4406.tar.gz
rneovim-5181984db990111c76d7d7bceb3d7acba7da4406.tar.bz2
rneovim-5181984db990111c76d7d7bceb3d7acba7da4406.zip
fix(api): nvim_exec_autocmds({buf=x}) runs in buffer context #39061
Problem: `nvim_exec_autocmds({ buf = ... })` matches the target buffer, but callbacks and modelines run with the caller buffer current rather than the target buffer. Solution: Execute the buffered path in prepared target-buffer context and restore the caller afterward.
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
0 files changed, 0 insertions, 0 deletions