diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 11:27:28 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 11:36:22 +0800 |
| commit | 199c7c28989a3c36447ef56b71c7b84756950a11 (patch) | |
| tree | edf413e2f839c19f48dcd93be5c76afa0cf597e3 /src/nvim/testdir | |
| parent | 45ca7d4a62d9d6275339e9d9c0a4930448592712 (diff) | |
| download | rneovim-199c7c28989a3c36447ef56b71c7b84756950a11.tar.gz rneovim-199c7c28989a3c36447ef56b71c7b84756950a11.tar.bz2 rneovim-199c7c28989a3c36447ef56b71c7b84756950a11.zip | |
vim-patch:8.2.0612: Vim9: no check for space before #comment
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
https://github.com/vim/vim/commit/2c5ed4e3300378ce76c8d9c3818d6f73e5119f68
Omit ends_excmd2(): the same as ends_excmd() in legacy Vim script.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_sort.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_sort.vim b/src/nvim/testdir/test_sort.vim index c3e7788164..f9cbcbb55f 100644 --- a/src/nvim/testdir/test_sort.vim +++ b/src/nvim/testdir/test_sort.vim @@ -1360,7 +1360,7 @@ func Test_sort_cmd() call setline(1, ['line1', 'line2']) call assert_fails('sort no', 'E474:') call assert_fails('sort c', 'E475:') - call assert_fails('sort #pat%', 'E682:') + call assert_fails('sort #pat%', 'E654:') enew! endfunc |