Mercurial > vim
view src/testdir/test_erasebackword.vim @ 31259:a7dba627a21b v9.0.0963
patch 9.0.0963: function name does not match autocmd event name
Commit: https://github.com/vim/vim/commit/269aa2b29ac3e4c0083d929e2477c95e7bd1177a
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon Nov 28 11:36:50 2022 +0000
patch 9.0.0963: function name does not match autocmd event name
Problem: Function name does not match autocmd event name.
Solution: Rename "optionsset" to "optionset". (closes https://github.com/vim/vim/issues/11630)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Nov 2022 12:45:04 +0100 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Test for i_CTRL-W func Test_erasebackword() enew exe "normal o wwwこんにちわ世界ワールドvim \<C-W>" call assert_equal(' wwwこんにちわ世界ワールド', getline('.')) exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>" call assert_equal(' wwwこんにちわ世界', getline('.')) exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>\<C-W>" call assert_equal(' wwwこんにちわ', getline('.')) exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>\<C-W>\<C-W>" call assert_equal(' www', getline('.')) exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>\<C-W>\<C-W>\<C-W>" call assert_equal(' ', getline('.')) exe "normal o wwwこんにちわ世界ワールドvim \<C-W>\<C-W>\<C-W>\<C-W>\<C-W>\<C-W>" call assert_equal('', getline('.')) enew! endfunc " vim: shiftwidth=2 sts=2 expandtab