aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorJaehwang Jung <tomtomjhj@gmail.com>2025-09-13 02:00:52 +0900
committerJaehwang Jung <tomtomjhj@gmail.com>2025-09-13 13:22:47 +0900
commitc318da73b49395a9fb1f75de55704fb080a539bd (patch)
tree156f262eee09dfa3a839a6991765a04a6bf942aa /runtime/lua/vim/_editor.lua
parent2997031732bfda12b75830ef903a2250e1213f7f (diff)
downloadrneovim-c318da73b49395a9fb1f75de55704fb080a539bd.tar.gz
rneovim-c318da73b49395a9fb1f75de55704fb080a539bd.tar.bz2
rneovim-c318da73b49395a9fb1f75de55704fb080a539bd.zip
vim-patch:5346688: runtime(netrw): fix :Explore command in terminal
There are really two issues solved here: - The directory listing was not populating the new buffer when using the :Explore command. This was because the directory to open is determined by using expand("%:p") which includes '!/running/command' at the end of the string in terminal buffers. - The :Explore command should replace the buffer, not split it. This because the Explore command will automatically split if the current buffer has been modified. According to the docs, all terminal buffers will have the modified flag set when a job is running. fixes: vim/vim#9862 closes: vim/vim#18069 https://github.com/vim/vim/commit/53466887f71f47ae74227a69ba15120e5f9a161b Co-authored-by: Jason Long <jasonlongball@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions