Mercurial > vim
view src/testdir/test_feedkeys.vim @ 19429:7096af834c42 v8.2.0272
patch 8.2.0272: ":helptags ALL" gives error for some directories
Commit: https://github.com/vim/vim/commit/414b79662786762256e756ece8ab4aaecbbf9bd1
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 17 22:39:35 2020 +0100
patch 8.2.0272: ":helptags ALL" gives error for some directories
Problem: ":helptags ALL" gives error for directories without write
permission. (Mat?j Cepl)
Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
closes #5652)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 17 Feb 2020 22:45:03 +0100 |
parents | 6b70b9cdebfc |
children | 08940efa6b4e |
line wrap: on
line source
" Test feedkeys() function. func Test_feedkeys_x_with_empty_string() new call feedkeys("ifoo\<Esc>") call assert_equal('', getline('.')) call feedkeys('', 'x') call assert_equal('foo', getline('.')) " check it goes back to normal mode immediately. call feedkeys('i', 'x') call assert_equal('foo', getline('.')) quit! endfunc