aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_spell.vim
Commit message (Collapse)AuthorAge
* oldtests: skip Test_spellinfo()Jan Edmund Lazo2018-11-12
| | | | nvim supports only `set encoding=utf8`.
* vim-patch:8.1.0340: no test for :spellinfoJan Edmund Lazo2018-11-12
| | | | | | Problem: No test for :spellinfo. Solution: Add a test. (Dominique Pelle, closes vim/vim#3394) https://github.com/vim/vim/commit/9049b686121367941bf534c041975938135c7e20
* Merge #4486 'refactor: Remove maxmem, maxmemtot options'Justin M. Keyes2018-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After this change we never release blocks from memory (in practice it never happened because the memory limits are never reached). Let the OS take care of that. --- On today's systems the 'maxmem' and 'maxmemtot' values are huge (4+ GB) so the limits are never reached in practice, but Vim wastes a lot of time checking if the limit was reached. If the limit is reached Vim starts saving pieces of the swap file that were in memory to the disk. Said in a different way: Vim implements its own memory-paging mechanism. This is unnecessary and inefficient since the operating system already has virtual memory and will swap to the disk if programs start using too much memory. This change does... 1. Reduce the number of config options and need for documentation. 2. Make the code more efficient as we don't have to keep track of memory usage nor check if the memory limits were reached to start swapping to disk every time we need memory for buffers. 3. Simplify the code. Once memfile.c is simple enough it could be replaced by actual operating system memory mapping (mmap, MemoryViewOfFile...). This change does not prevent Vim to recover changes from swap files since the swapping code is never triggered with the huge limits set by default.
* vim-patch:8.0.1419: cursor column is not updated after ]sJustin M. Keyes2018-01-16
| | | | | | | Problem: Cursor column is not updated after ]s. (Gary Johnson) Solution: Set the curswant flag. https://github.com/vim/vim/commit/b73fa629d6d3d705c1f8e8d5f8109fc9abd7bb6f
* vim-patch:8.0.1225: no check for spell region being zeroJustin M. Keyes2018-01-16
| | | | | | | Problem: No check for spell region being zero. (geeknik) Solution: Check for zero. (closes vim/vim#2252) https://github.com/vim/vim/commit/ee03b941241eae1d36bc29b84eec09116cefe7cd
* test/old: skip enc=latin1 testsJustin M. Keyes2018-01-16
|
* vim-patch:8.0.0792: spell test leaves files behindJustin M. Keyes2018-01-16
| | | | | | | Problem: Spell test leaves files behind. Solution: Delete the files. https://github.com/vim/vim/commit/1a0f2005002a9993ba7313d1978fa2043314f8b8
* vim-patch:8.0.0658: spell test is old styleJustin M. Keyes2018-01-16
| | | | | | | Problem: Spell test is old style. Solution: Turn the spell test into a new style test (pschuh, closes vim/vim#1778) https://github.com/vim/vim/commit/d2c061d24c0534f1f1b92f3462ed6ae8fa848a9a
* vim-patch:8.0.0601: no test coverage for :spellrepallJustin M. Keyes2018-01-16
| | | | | | | Problem: No test coverage for :spellrepall. Solution: Add a test. (Dominique Pelle, closes vim/vim#1717) https://github.com/vim/vim/commit/545cb79da586be3333a0a55616046f94b01f6b1a
* runtime: include en.utf-8.splJustin M. Keyes2018-01-15
| | | | | | | Install en.utf-8.spl by default. - Allows spell-related tests to run. - Avoids download prompt for spelllang=en users
* vim-patch:8.0.0582: illegal memory access with z= commandJustin M. Keyes2018-01-13
| | | | | | | | Problem: Illegal memory access with z= command. (Dominique Pelle) Solution: Avoid case folded text to be longer than the original text. Use MB_PTR2LEN() instead of MB_BYTE2LEN(). https://github.com/vim/vim/commit/5b276aa80e112ae1993bd43e28f599f257827c54
* vim-patch:8.0.0364 (#7837)KunMing Xie2018-01-13
vim-patch:8.0.0364: ]s does not move cursor with two spell errors in one line Problem: ]s does not move cursor with two spell errors in one line. (Manuel Ortega) Solution: Don't stop search immediately when wrapped, search the line first. (Ken Takata) Add a test. https://github.com/vim/vim/commit/d3f78dc9ebd729475a7f24a50a91112e300d5ac9 * disable spell test for now