aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_normal.vim
Commit message (Collapse)AuthorAge
* vim-patch:8.2.0686: formatoptions not sufficiently testedJan Edmund Lazo2020-12-20
| | | | | | | | Problem: Formatoptions not sufficiently tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6031) https://github.com/vim/vim/commit/2eaeaf3c317a5145fb0bc926411561d50883019b Cherry-pick Test_fo_a_w() from patch v8.2.0482.
* vim-patch:8.1.2355: test with "man" fails on FreeBSDJan Edmund Lazo2019-11-30
| | | | | | | | | Problem: Test with "man" fails on FreeBSD. Solution: Use "-P" instead of "--pager". https://github.com/vim/vim/commit/c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175 Cherry-picked "has('bsd')" from vim-patch:8.1.0846. Cherry-picked test_normal.vim fix from vim-patch:8.1.2358
* vim-patch:8.1.2231: introduce gM command #11321Jan Edmund Lazo2019-11-01
| | | | | Problem: Not easy to move to the middle of a text line. Solution: Add the gM command. (Yasuhiro Matsumoto, closes vim/vim#2070) https://github.com/vim/vim/commit/8b530c1ff91f07cf6b0289a536992b7dfbc86598
* Merge #11211 from jbradaric/vim-8.1.1585Justin M. Keyes2019-10-19
|\ | | | | vim-patch:8.1.{1585,1625,1723,1729}
| * vim-patch:8.1.1585: :let-heredoc does not trim enoughJurica Bradaric2019-10-13
| | | | | | | | | | | | | | Problem: :let-heredoc does not trim enough. Solution: Trim indent from the contents based on the indent of the first line. Use let-heredoc in more tests. https://github.com/vim/vim/commit/e7eb92708ec2092a2fc11e78703b5dcf83844412
* | vim-patch:8.1.2140: "gk" and "gj" do not work correctly in number column #11208Jan Edmund Lazo2019-10-17
|/ | | | | Problem: "gk" and "gj" do not work correctly in number column. Solution: Allow for a negative "curswant". (Zach Wegner, closes vim/vim#4969) https://github.com/vim/vim/commit/ceba3dd5187788e09f65bd41b07b40f6f9aab953
* vim-patch:8.1.1362: code and data in tests can be hard to readJurica Bradaric2019-10-07
| | | | | | Problem: Code and data in tests can be hard to read. Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes vim/vim#4400) https://github.com/vim/vim/commit/c79745a82faeb5a6058e915ca49a4c69fa60ea01
* test/old: align with Vim #11096Daniel Hahler2019-10-03
|
* vim-patch:8.1.0514: CTRL-W ^ does not work when alternate buffer has no nameJan Edmund Lazo2019-10-01
| | | | | | | Problem: CTRL-W ^ does not work when alternate buffer has no name. Solution: Use another method to split and edit the alternate buffer. (Jason Franklin) https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
* vim-patch:8.1.1758: count of g$ not used correctly when text is not wrappedJan Edmund Lazo2019-10-01
| | | | | | Problem: Count of g$ not used correctly when text is not wrapped. Solution: Do use the count. (Christian Brabandt, closes vim/vim#4729, closes vim/vim#4566) https://github.com/vim/vim/commit/d5c8234517c18fa059b78f59eb96c35eda323dae
* vim-patch:8.1.2072: "gk" moves to start of line instead of upwardsJan Edmund Lazo2019-10-01
| | | | | | Problem: "gk" moves to start of line instead of upwards. Solution: Fix off-by-one error. (Christian Brabandt, closes vim/vim#4969) https://github.com/vim/vim/commit/03ac52fc025790c474030ea556cec799400aa046
* vim-patch:8.1.0811: too many #ifdefsDaniel Hahler2019-08-22
| | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* vim-patch:8.1.1049: when user tries to exit with CTRL-C message is confusingJan Edmund Lazo2019-07-28
| | | | | | | | | | | | | | | | | | Problem: When user tries to exit with CTRL-C message is confusing. Solution: Only mention ":qa!" when there is a changed buffer. (closes vim/vim#4163) https://github.com/vim/vim/commit/a84a3dd6635fcd2e07f510cba6a999585dcc381a vim-patch:8.1.1052: test for CTRL-C message sometimes fails Problem: test for CTRL-C message sometimes fails Solution: Make sure there are no changed buffers. https://github.com/vim/vim/commit/553e5a5c568e7d175b65b0472cd6d9843b25f4c8 vim-patch:8.1.1053: warning for missing return statement Problem: Warning for missing return statement. (Dominique Pelle) Solution: Add return statement. https://github.com/vim/vim/commit/d6c3f1fa2b5e1dd7dc87cf608d72b84ad696b58f
* test/old: enable Test_normal01_keymodelJan Edmund Lazo2019-05-04
| | | | It works now.
* vim-patch:8.1.1214: old style tests #9948Jan Edmund Lazo2019-04-27
| | | | | | Problem: Old style tests. Solution: Move tests from test14 to new style test files. (Yegappan Lakshmanan, closes vim/vim#4308) https://github.com/vim/vim/commit/c6b37db1ba704455daa8f9e78bc1c2492fb81f40
* vim-patch:8.0.1510: cannot assert beep #9938Jan Edmund Lazo2019-04-25
| | | | | Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps(). https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8
* vim-patch:8.1.0327: the "g CTRL-G" command isn't tested much (#8914)Jan Edmund Lazo2018-08-26
| | | | | Problem: The "g CTRL-G" command isn't tested much. Solution: Add more tests. (Dominique Pelle, closes vim/vim#3369) https://github.com/vim/vim/commit/0529583ff144e2cb8fb57fe61a86997310bd7727
* Merge #8861 from janlazo/vim-8.0.1364Justin M. Keyes2018-08-21
|\
| * vim-patch:8.0.1509: test for failing drag-n-drop command no longer failsJan Edmund Lazo2018-08-16
| | | | | | | | | | | | Problem: Test for failing drag-n-drop command no longer fails. Solution: Check for the "dnd" feature. https://github.com/vim/vim/commit/294959528e02403cd7ef6541208835f0c621c63b
| * vim-patch:8.0.1508: the :drop command is not always availableJan Edmund Lazo2018-08-16
| | | | | | | | | | | | Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes vim/vim#2639) https://github.com/vim/vim/commit/5a656864a0610547da28e0c8c1649ecd1d782948
* | vim-patch:8.0.1418: no test for expanding backticksJan Edmund Lazo2018-08-18
| | | | | | | | | | | | Problem: No test for expanding backticks. Solution: Add a test. (Dominique Pelle, closes vim/vim#2479) https://github.com/vim/vim/commit/ae6f8651251013bafef9de1aed09069deaae8122
* | vim-patch:8.0.1090: cannot get the text under the cursor like v:beval_textJan Edmund Lazo2018-08-17
|/ | | | | | Problem: cannot get the text under the cursor like v:beval_text Solution: Add <cexpr>. https://github.com/vim/vim/commit/65f084749b260746d7f186af4f080298be2df55b
* vim-patch:8.0.1243: no test for what 8.0.1227 fixesJan Edmund Lazo2018-08-12
| | | | | | Problem: No test for what 8.0.1227 fixes. Solution: Add a test that triggers the problem. (Christian Brabandt) https://github.com/vim/vim/commit/f45938cc20ed6992e5215ffe41b73b528c78be9c
* vim-patch:8.0.0549: no test for the 8g8 commandJan Edmund Lazo2018-06-19
| | | | | | Problem: No test for the 8g8 command. Solution: Add a test. (Dominique Pelle, closes vim/vim#1615) https://github.com/vim/vim/commit/395b6bab33e5ed9a0377d7f140e98fd3ab682672
* vim-patch:8.0.0523: dv} deletes part of a multi-byte character.Jan Edmund Lazo2018-06-07
| | | | | | Problem: dv} deletes part of a multi-byte character. (Urtica Dioica) Solution: Include the whole character. https://github.com/vim/vim/commit/bf3d58073f7b34b2d65d1d08a728d1164e03cceb
* vim-patch:8.0.0516 (#8458)KunMing Xie2018-06-01
| | | | | | Problem: A large count on a normal command causes trouble. (Dominique Pelle) Solution: Make "opcount" long. https://github.com/vim/vim/commit/b1e04fca3704e272a30afbe062498819eaacd4f9
* vim-patch:8.0.1271: still too many old style testsJustin M. Keyes2018-02-12
| | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2290) https://github.com/vim/vim/commit/fb094e14c19337de824d4e6710ca6a2617930ab0
* vim-patch:8.0.1200: tests switch the bell off twiceJustin M. Keyes2018-02-11
| | | | | | | Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt) https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
* test/old: Fix_truncated_tmpfile(): more flexibleJustin M. Keyes2018-01-23
|
* vim-patch:8.0.0433: beeps when running testsJustin M. Keyes2018-01-21
| | | | | | | Problem: Quite a few beeps when running tests. Solution: Set 'belloff' for these tests. (Christian Brabandt) https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
* 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
* test/legacy: avoid TSAN CI build hangJustin M. Keyes2017-07-29
| | | | | | This delete() sometimes hangs the TSAN build. Work around it by using a unique filename. Do it at the start instead of the end, for hygiene (though it doesn't actually matter on CI, it helps local dev).
* test: make locale dependent oldtest more reliable (#6526)Björn Linse2017-04-15
|
* vim-patch:8.0.0552Björn Linse2017-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Toupper and tolower don't work properly for Turkish when 'casemap' is empty. (Bjorn Linse) Solution: Check the 'casemap' options when deciding how to upper/lower case. https://github.com/vim/vim/commit/3317d5ebbe8304da82b8088446060afcae0012af vim-patch:8.0.0553 Problem: Toupper/tolower test with Turkish locale fails on Mac. Solution: Skip the test on Mac. https://github.com/vim/vim/commit/9f4de1f5435b900e43e19766da1a5bed4686cf44 vim-patch:8.0.0554 Problem: Toupper and tolower don't work properly for Turkish when 'casemap' contains "keepascii". (Bjorn Linse) Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower. https://github.com/vim/vim/commit/1cc482069a3407132aeb43a55d6dc284153e79c7 vim-patch:8.0.0555 Problem: Toupper/tolower test fails on OSX without Darwin. Solution: Skip that part of the test also for OSX. (Kazunobu Kuriyama) https://github.com/vim/vim/commit/d2381a2cadb9ef359ad5efb916734c635b29bd13
* move.c: add cursor adjustment for scrolloff (#6319)lonerover2017-03-21
|
* test/legacy: fix test_normal.vimJustin M. Keyes2017-03-19
|
* vim-patch:8.0.0179raichoo2017-03-19
| | | | | | | | Problem: 'formatprg' is a global option but the value may depend on the type of buffer. (Sung Pae) Solution: Make 'formatprg' global-local. (closes vim/vim#1380) https://github.com/vim/vim/commit/9be7c04e6cd5b0facedcb56b09a5bcfc339efe03
* vim-patch:8.0.0066raichoo2017-03-19
| | | | | | | | | Problem: when calling an operator function when 'linebreak' is set, it is internally reset before calling the operator function. Solution: Restore 'linebreak' before calling op_function(). (Christian Brabandt) https://github.com/vim/vim/commit/4a08b0dc4dd70334056fc1bf069b5e938f2ed7d5
* vim-patch:8.0.0064raichoo2017-03-19
| | | | | | | Problem: Normal test fails on MS-Windows. Solution: Don't try using an illegal file name. https://github.com/vim/vim/commit/eb828d01d9c91791fa1fe217ba651cdc25746d1b
* vim-patch:8.0.0060raichoo2017-03-19
| | | | | | | | Problem: When using an Ex command for 'keywordprg' it is escaped as with a shell command. (Romain Lafourcade) Solution: Escape for an Ex command. (closes vim/vim#1175) https://github.com/vim/vim/commit/426f3754223c8ff8a1bc51d6ba1eba11e8982ebc
* vim-patch:7.4.2353raichoo2017-03-19
| | | | | | | Problem: Not enough test coverage for Normal mode commands. Solution: Add more tests. (Christian Brabandt) https://github.com/vim/vim/commit/2931f2a5df0d962032d41060af84d9fd2cb35c9f
* vim-patch:7.4.2347raichoo2017-03-19
| | | | | | | | | Problem: Crash when closing a buffer while Visual mode is active. (Dominique Pelle) Solution: Adjust the position before computing the number of lines. When closing the current buffer stop Visual mode. https://github.com/vim/vim/commit/c4a908e83690844b0d3a46124ba6af7d23485d69
* vim-patch:7.4.2336raichoo2017-03-19
| | | | | | | | Problem: Running normal mode tests leave a couple of files behind. (Yegappan Lakshmanan) Solution: Delete the files. (Christian Brabandt) https://github.com/vim/vim/commit/df0db16cf74281a83a9ea3388a2ef9aedccd013c
* vim-patch:7.4.2333raichoo2017-03-19
| | | | | | | Problem: Outdated comments in test. Solution: Cleanup normal mode test. (Christian Brabandt) https://github.com/vim/vim/commit/31845093b7f1b33e0c7e9e592bef65528674a1f2
* vim-patch:7.4.2322raichoo2017-03-19
| | | | | | | Problem: Access memory beyond the end of the line. (Dominique Pelle) Solution: Adjust the cursor column. https://github.com/vim/vim/commit/bc54f3f3fed4dc3556df8c46cee6739d211b0eb2
* vim-patch:7.4.2317raichoo2017-03-19
| | | | | | | Problem: Normal mode tests fail on MS-Windows. Solution: Do some tests only on Unix. Set 'fileformat' to "unix". https://github.com/vim/vim/commit/0913a1089a07ac7b17abc3a1343dfa7cd25613f4
* vim-patch:7.4.2315raichoo2017-03-19
Problem: Insufficient testing for Normal mode commands. Solution: Add a big test. (Christian Brabandt, closes vim/vim#1029) https://github.com/vim/vim/commit/87bc3f74598ae8c648957e5755000cc6cdbc89ce