aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-08-11 09:35:17 -0400
committerJames McCoy <jamessan@jamessan.com>2016-08-11 13:37:42 -0400
commitd0c0930acfeb8d6dc299a56d2c12cd0aa3fc960f (patch)
tree50c4f5100ef19bd2caaa583bb9d3e28e6c9e86b4 /test/functional/api/vim_spec.lua
parentb805a7149580685edfcebcc96285e1bb96bb103d (diff)
downloadrneovim-d0c0930acfeb8d6dc299a56d2c12cd0aa3fc960f.tar.gz
rneovim-d0c0930acfeb8d6dc299a56d2c12cd0aa3fc960f.tar.bz2
rneovim-d0c0930acfeb8d6dc299a56d2c12cd0aa3fc960f.zip
Restore ":browse oldfiles" behavior from Vim
In 3b12bb225adda2aac40a55f7009cae05311b2a43, ":oldfiles" was taught to behave like Vim's ":browse oldfiles" if ":oldfiles!" was used. However, this conflates the use of ! for abandoning a modified buffer with choosing one file out of a list of oldfiles. Now that ":browse" is supported again, ":browse oldfiles" will allow the user to select an old file, while still complaining if that would cause a modified buffer to be abandoned. ":browse oldfiles!" will just abandon the buffer, as expected.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions