aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-02-16 21:47:45 +0800
committerGitHub <noreply@github.com>2026-02-16 21:47:45 +0800
commite6fae6445445fe266b353aa4ca4a4f40ad44f0ac (patch)
tree4ed53f1f11e74ad50872dec0c2bb8e6778cd1687 /test/functional/vimscript/executable_spec.lua
parent9c3ba551288a9f05d489dfee1077bab7261644be (diff)
downloadrneovim-e6fae6445445fe266b353aa4ca4a4f40ad44f0ac.tar.gz
rneovim-e6fae6445445fe266b353aa4ca4a4f40ad44f0ac.tar.bz2
rneovim-e6fae6445445fe266b353aa4ca4a4f40ad44f0ac.zip
fix(terminal): handle opening terminal on unloaded buffer (#37894)
Problem: Strange behavior when opening terminal on unloaded buffer. Solution: For nvim_open_term() ensure the buffer is loaded as it needs to be read into the terminal. For jobstart() just open the memfile as the file content isn't needed. Not going to make nvim_open_term() pass stdin to the terminal when stdin isn't read into a buffer yet, as other APIs don't read stdin on unloaded buffer either. There are also other problems with loading buffer before reading stdin, so it's better to address those in another PR.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions