diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-04 11:13:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-04 11:13:19 +0800 |
| commit | f075feee3258d15f6549e33c185f6165f9c7fbfc (patch) | |
| tree | 749fe579f2987a6da072e912f2b08a06c1bc4761 /src/nvim/testdir/test_spell_utf8.vim | |
| parent | acb7a902812a064fced5ef7d389bd94cb45764bb (diff) | |
| parent | 6b474d0237a1ec9b5b027e5d1fb738be38a57347 (diff) | |
| download | rneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.tar.gz rneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.tar.bz2 rneovim-f075feee3258d15f6549e33c185f6165f9c7fbfc.zip | |
Merge pull request #19220 from zeertzjq/vim-8.2.1470
vim-patch:8.2.{1470,1493,1522,1523,1770,5072,5074}: spell patches
Diffstat (limited to 'src/nvim/testdir/test_spell_utf8.vim')
| -rw-r--r-- | src/nvim/testdir/test_spell_utf8.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_spell_utf8.vim b/src/nvim/testdir/test_spell_utf8.vim index 3d240a8f2c..2fd176557d 100644 --- a/src/nvim/testdir/test_spell_utf8.vim +++ b/src/nvim/testdir/test_spell_utf8.vim @@ -808,5 +808,18 @@ func Test_word_index() call delete('Xtmpfile') endfunc +func Test_check_empty_line() + " This was using freed memory + enew + spellgood! fl + norm z= + norm yy + sil! norm P]svc + norm P]s + + " TODO: should we clear the word list? + bwipe! +endfunc + " vim: shiftwidth=2 sts=2 expandtab |