diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-10 20:20:06 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-10 20:20:06 +0800 |
| commit | 67b26a39f01cfd4a036070580b8ac6ccecda4a93 (patch) | |
| tree | ac896f5c96fe1b15247bc2770359f36ac59611e2 /src/nvim/testdir | |
| parent | 5e5374035098807d030f7a3a118acb061a4ed19e (diff) | |
| parent | b3b85186ed7d85b5f2a7c3918c3d391e6abb2cfc (diff) | |
| download | rneovim-67b26a39f01cfd4a036070580b8ac6ccecda4a93.tar.gz rneovim-67b26a39f01cfd4a036070580b8ac6ccecda4a93.tar.bz2 rneovim-67b26a39f01cfd4a036070580b8ac6ccecda4a93.zip | |
Merge pull request #19305 from zeertzjq/vim-8.2.3530
vim-patch:8.2.{3530,3531}: ":buf \{a}" fails while ":edit \{a}" works
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 93b5e4d1cf..4207e4767e 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -900,6 +900,15 @@ func Test_cmdline_complete_various() call feedkeys(":unlet one two\<C-A>\<C-B>\"\<CR>", 'xt') call assert_equal("\"unlet one two", @:) + " completion for the :buffer command with curlies + " FIXME: what should happen on MS-Windows? + if !has('win32') + edit \{someFile} + call feedkeys(":buf someFile\<C-A>\<C-B>\"\<CR>", 'xt') + call assert_equal("\"buf {someFile}", @:) + bwipe {someFile} + endif + " completion for the :bdelete command call feedkeys(":bdel a b c\<C-A>\<C-B>\"\<CR>", 'xt') call assert_equal("\"bdel a b c", @:) |