diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-17 06:07:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-17 06:07:05 +0800 |
| commit | 4f59bc8013a631f3bed70fb8a313e985818073f0 (patch) | |
| tree | 0a7a764842acb866073ad177f5afc5bcaed3bd9c /src/nvim/testdir/test_mapping.vim | |
| parent | 711a6a915767a97300aba76fb9d79b9784bc76ce (diff) | |
| parent | 0cfd4fa8f3dc2241de5f69d5c52510542dfc927c (diff) | |
| download | rneovim-4f59bc8013a631f3bed70fb8a313e985818073f0.tar.gz rneovim-4f59bc8013a631f3bed70fb8a313e985818073f0.tar.bz2 rneovim-4f59bc8013a631f3bed70fb8a313e985818073f0.zip | |
Merge pull request #19391 from zeertzjq/vim-8.2.0052
vim-patch:8.2.{0052,0198,2608,2643}: code not fully tested
Diffstat (limited to 'src/nvim/testdir/test_mapping.vim')
| -rw-r--r-- | src/nvim/testdir/test_mapping.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_mapping.vim b/src/nvim/testdir/test_mapping.vim index a34a950526..e1d0b9a9ba 100644 --- a/src/nvim/testdir/test_mapping.vim +++ b/src/nvim/testdir/test_mapping.vim @@ -956,6 +956,16 @@ func Test_map_cmdkey_redo() ounmap i- endfunc +" Test for using <script> with a map to remap characters in rhs +func Test_script_local_remap() + new + inoremap <buffer> <SID>xyz mno + inoremap <buffer> <script> abc st<SID>xyzre + normal iabc + call assert_equal('stmnore', getline(1)) + bwipe! +endfunc + func Test_abbreviate_multi_byte() new iabbrev foo bar |