diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-01 11:49:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-01 11:49:48 +0800 |
| commit | 8f5bcfb0e4ca3b827bcc46cb05d3530bd97da7db (patch) | |
| tree | 0bf2bc94da24ed2c0439a1c3660c3515f6b513f1 /src/nvim/testdir/test_options.vim | |
| parent | 2268a4147ec1e9f0236fd5eb56c1cc2b751eca05 (diff) | |
| parent | b22f7dd9083293f4bef7ddf7ab8c2a20247b1629 (diff) | |
| download | rneovim-8f5bcfb0e4ca3b827bcc46cb05d3530bd97da7db.tar.gz rneovim-8f5bcfb0e4ca3b827bcc46cb05d3530bd97da7db.tar.bz2 rneovim-8f5bcfb0e4ca3b827bcc46cb05d3530bd97da7db.zip | |
Merge pull request #19178 from zeertzjq/vim-8.2.0049
vim-patch:8.2.0049: command line completion not fully tested
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
| -rw-r--r-- | src/nvim/testdir/test_options.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim index f73cd5f5e6..2a3d977254 100644 --- a/src/nvim/testdir/test_options.vim +++ b/src/nvim/testdir/test_options.vim @@ -238,6 +238,12 @@ func Test_set_completion() call feedkeys(":set di\<C-A>\<C-B>\"\<CR>", 'tx') call assert_equal('"set dictionary diff diffexpr diffopt digraph directory display', @:) + call feedkeys(":setlocal di\<C-A>\<C-B>\"\<CR>", 'tx') + call assert_equal('"setlocal dictionary diff diffexpr diffopt digraph directory display', @:) + + call feedkeys(":setglobal di\<C-A>\<C-B>\"\<CR>", 'tx') + call assert_equal('"setglobal dictionary diff diffexpr diffopt digraph directory display', @:) + " Expand boolan options. When doing :set no<Tab> " vim displays the options names without "no" but completion uses "no...". call feedkeys(":set nodi\<C-A>\<C-B>\"\<CR>", 'tx') @@ -268,6 +274,7 @@ func Test_set_completion() call feedkeys(":set tags=./\\\\ dif\<C-A>\<C-B>\"\<CR>", 'tx') call assert_equal('"set tags=./\\ diff diffexpr diffopt', @:) + set tags& " Expand values for 'filetype' |