aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.1516: time reported for a test measured wrongJan Edmund Lazo2020-08-23
| | | | | | | Problem: Time reported for a test measured wrong. Solution: Move the computation to the end of RunTheTest(). (Ozaki Kiichi, closes vim/vim#4520) https://github.com/vim/vim/commit/640d4f0c97e686211dc4474b46a83e4435d883c0
* vim-patch:8.2.1511: putting a string in Visual block mode ignores multi-byteJan Edmund Lazo2020-08-22
| | | | | | | Problem: Putting a string in Visual block mode ignores multi-byte characters. Solution: Adjust the column for Visual block mode. (closes vim/vim#6767) https://github.com/vim/vim/commit/cd94277f72e29b740635da84bcd872c96e11bf67
* vim-patch:8.2.1472: ":argdel" does not work like ":.argdel" as documentedJan Edmund Lazo2020-08-17
| | | | | | | | Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey Demin) Solution: Make ":argdel" work like ":.argdel". (closes vim/vim#6727) Also fix giving the error "0 more files to edit". https://github.com/vim/vim/commit/7b22117c4ecf383b6f35acef041773a83ec28220
* vim-patch:8.2.1474: /usr/lib/udef/rules.d not recognized as udevrulesJan Edmund Lazo2020-08-17
| | | | | | Problem: /usr/lib/udef/rules.d not recognized as udevrules. Solution: Adjust match pattern. (Haochen Tong, closes 36722) https://github.com/vim/vim/commit/624b6eaf20f3e8c669425b6a32f17fb9ec2ebbd2
* vim-patch:8.2.1471: :const only locks the variable, not the value (#12765)Jan Edmund Lazo2020-08-16
| | | | | Problem: :const only locks the variable, not the value. Solution: Lock the value as ":lockvar 1 var" would do. (closes vim/vim#6719) https://github.com/vim/vim/commit/241572794f7e93d2f8b762de2300e5f7e4f07628
* vim-patch:8.2.1458: .gawk files not recognizedJan Edmund Lazo2020-08-15
| | | | | | Problem: .gawk files not recognized. Solution: Recognize .gawk files. (Doug Kearns) https://github.com/vim/vim/commit/9a5c553f790f74e4c36295ce5d46c1aa7d13eae6
* vim-patch:8.2.1441: running tests in tiny version gives error for summarize.vimJan Edmund Lazo2020-08-14
| | | | | | | Problem: Running tests in tiny version gives error for summarize.vim. Solution: Set 'cpoptions' to allow for line continuation. Restore redirecting test output to /dev/null. https://github.com/vim/vim/commit/c771908681bc9ee7689d83e09104cf4c6f984326
* vim-patch:8.2.1438: missing tests for interrupting script execution from ↵Jan Edmund Lazo2020-08-14
| | | | | | | | debugger Problem: Missing tests for interrupting script execution from debugger. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#6697) https://github.com/vim/vim/commit/7ac616cb0a52bc72b449e19cf9db93bee116c15a
* vim-patch:8.2.1410: adding compiler plugin requires test changeJan Edmund Lazo2020-08-14
| | | | | | Problem: Adding compiler plugin requires test change. Solution: Include compiler plugin and adjust test. https://github.com/vim/vim/commit/7f7a8888699bca6df0a45a16db5f0e313383b5f1
* vim-patch:8.2.1409: nmpmrc and php.ini filetypes not recognizedJan Edmund Lazo2020-08-14
| | | | | | Problem: Nmpmrc and php.ini filetypes not recognized. Solution: Add filetype detection. (Doug Kearns) https://github.com/vim/vim/commit/1e91eafc2e19b84ea44347ea929d2791d2fdd5e3
* vim-patch:8.1.2098: mksession test fails on MS-WindowsJan Edmund Lazo2020-08-14
| | | | | | Problem: mksession test fails on MS-Windows. Solution: Skip testing with backslashes on MS-Windows. https://github.com/vim/vim/commit/37ac4a531ce58daa201e3e045ef553734eaa432a
* vim-patch:8.1.2097: :mksession is not sufficiently testedJan Edmund Lazo2020-08-14
| | | | | | Problem: :mksession is not sufficiently tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#4992) https://github.com/vim/vim/commit/66f0e6c6e201c75c24d4aa8fac46e926f7ac9054
* vim-patch:8.2.1386: backslash not removed afer space with space in 'isfname'Jan Edmund Lazo2020-08-14
| | | | | | | | Problem: Backslash not removed afer space in option with space in 'isfname'. Solution: Do remove backslash before space, also when it is in 'isfname'. (Yasuhiro Matsumoto, closes vim/vim#6651) https://github.com/vim/vim/commit/994b89d28dc54c896e00eba66e247addb0540272
* vim-patch:8.2.1379: curly braces expression ending in " }" does not workJan Edmund Lazo2020-08-14
| | | | | | Problem: Curly braces expression ending in " }" does not work. Solution: Skip over white space when checking for "}". (closes vim/vim#6634) https://github.com/vim/vim/commit/ae95a3946b012d4e68bcb20b28f691f6d3b9caaf
* vim-patch:8.2.1369: MS-Windows: autocommand test sometimes failsJan Edmund Lazo2020-08-14
| | | | | | Problem: MS-Windows: autocommand test sometimes fails. Solution: Do not rely on the cat command. https://github.com/vim/vim/commit/14ddd226daa324831e1872c352452f202fd6068c
* vim-patch:8.2.1361: error for white space after expression in assignmentJan Edmund Lazo2020-08-14
| | | | | | Problem: Error for white space after expression in assignment. Solution: Skip over white space. (closes vim/vim#6617) https://github.com/vim/vim/commit/6a25026262e2cdbbd8738361c5bd6ebef8862d87
* vim-patch:8.2.1360: stray error for white space after expressionJan Edmund Lazo2020-08-14
| | | | | | Problem: Stray error for white space after expression. Solution: Ignore trailing white space. (closes vim/vim#6608) https://github.com/vim/vim/commit/f96e9dec636d7d105b015680d8c5d6b47d936e01
* vim-patch:8.2.1347: cannot easily get the script IDJan Edmund Lazo2020-08-14
| | | | | | Problem: Cannot easily get the script ID. Solution: Support expand('<SID>'). https://github.com/vim/vim/commit/909443028b57d7514ce3c71f00e9d808f2126b4f
* vim-patch:8.1.2341: not so easy to interrupt a script programaticallyJan Edmund Lazo2020-08-14
| | | | | | Problem: Not so easy to interrupt a script programatically. Solution: Add the interrupt() function. (Yasuhiro Matsumoto, closes vim/vim#2834) https://github.com/vim/vim/commit/67a2deb9cb4ac2224cb1e4d240a5d0659f036264
* vim-patch:8.1.0573: cannot redefine user command without ! in same scriptJan Edmund Lazo2020-08-14
| | | | | | | Problem: Cannot redefine user command without ! in same script Solution: Allow redefining user command without ! in same script, like with functions. https://github.com/vim/vim/commit/55d46913084745a48749d7ac4f48930852e1d87e
* Merge pull request #12621 from Shougo/vim-8.1.1564Matthieu Coudron2020-08-09
|\ | | | | [RDY] vim-patch:8.1.1564, 1570, 1623, 1712 : sign column takes up space
| * vim-patch:8.1.1570: icon signs not displayed properly in the number columnShougo Matsushita2020-07-23
| | | | | | | | | | | | Problem: Icon signs not displayed properly in the number column. Solution: Display them properly. (Yegappan Lakshmanan, closes vim/vim#4559) https://github.com/vim/vim/commit/4dff4aed09d2b0d570ca0d19de9cb08bdf03e695
| * vim-patch:8.1.1564: sign column takes up spaceShougo Matsushita2020-07-23
| | | | | | | | | | | | | | Problem: Sign column takes up space. (Adam Stankiewicz) Solution: Optionally put signs in the number column. (Yegappan Lakshmanan, closes vim/vim#4555, closes vim/vim#4515) https://github.com/vim/vim/commit/394c5d8870b15150fc91a4c058dc571fd5eaa97e
| * vim-patch:8.1.1712: signs in number column cause text to be misalignederw72020-07-23
| | | | | | | | | | | | Problem: Signs in number column cause text to be misaligned. Solution: Improve alignment. (Yasuhiro Matsumoto, closes vim/vim#4694) https://github.com/vim/vim/commit/d6bcff457799e491c3d27880858ec08e758e1849
| * vim-patch:8.1.1623: display wrong with signs in narrow number columnerw72020-07-23
| | | | | | | | | | | | | | Problem: Display wrong with signs in narrow number column. Solution: Increase the numbercolumn width if needed. (Yegappan Lakshmanan, closes vim/vim#4606) https://github.com/vim/vim/commit/e4b407f536ba8bd007152649a347a95320d80fce
| * vim-patch:8.1.1564: sign column takes up spaceShougo Matsushita2020-07-23
| | | | | | | | | | | | | | Problem: Sign column takes up space. (Adam Stankiewicz) Solution: Optionally put signs in the number column. (Yegappan Lakshmanan, closes vim/vim#4555, closes vim/vim#4515) https://github.com/vim/vim/commit/394c5d8870b15150fc91a4c058dc571fd5eaa97e
* | vim-patch:8.1.0264: backup tests fail when CWD is in /tmpJan Edmund Lazo2020-08-02
| | | | | | | | | | | | Problem: Backup tests fail when CWD is in /tmp. Solution: Make 'backupskip' empty. (Christian Brabandt, closes vim/vim#3301) https://github.com/vim/vim/commit/efe03738f69b1f63ea30226765db949539ee15f0
* | vim-patch:8.1.0255: backup test fails when using shadow directoryJan Edmund Lazo2020-08-02
| | | | | | | | | | | | Problem: Backup test fails when using shadow directory. Solution: Remove check for "src". https://github.com/vim/vim/commit/f8f88f89e12df516c1fac5851b504238ebc1d2d4
* | vim-patch:8.1.0862: no verbose version of character classesJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | Problem: No verbose version of character classes. Solution: Add [:ident:], [:keyword:] and [:fname:]. (Ozaki Kiichi, closes vim/vim#1373) https://github.com/vim/vim/commit/221cd9f4dd866503777b2fffa721c1403716ad63
* | vim-patch:8.2.1295: tests 44 and 99 are old styleJan Edmund Lazo2020-08-02
| | | | | | | | | | | | Problem: Tests 44 and 99 are old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#6536) https://github.com/vim/vim/commit/7d40b8a532fa2ce768f200ab118870d17875a7fe
* | vim-patch:8.2.1292: AIDL filetype not recognizedJan Edmund Lazo2020-08-02
| | | | | | | | | | | | Problem: AIDL filetype not recognized. Solution: Add filetype detection. (Dominique Pellé, closes vim/vim#6533) https://github.com/vim/vim/commit/2afc3b4f776a4fe2bb22d0a79e77012d79b4ec1e
* | vim-patch:8.1.2340: quickfix test fails under valgrind and asanJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | Problem: Quickfix test fails under valgrind and asan. Solution: Make sure long line does not overflow IObuff. (Dominique Pelle, closes vim/vim#5263) Put back fix for large terminals. (Yegappan Lakshmanan, closes vim/vim#5264) https://github.com/vim/vim/commit/a106e6cde682bda4ad10ed745acb51975fcb02e0
* | vim-patch:8.2.1267: MS-Windows: tests may fail due to $PROMPT valueJan Edmund Lazo2020-08-02
| | | | | | | | | | | | Problem: MS-Windows: tests may fail due to $PROMPT value. Solution: Set $PROMPT for testing. (Taro Muraoka, closes vim/vim#6510) https://github.com/vim/vim/commit/2690b5aed8b6b6070430b05dcae296cd9479c942
* | vim-patch:8.2.1259: empty group in 'tabline' may cause using an invalid pointerJan Edmund Lazo2020-08-02
| | | | | | | | | | | | Problem: Empty group in 'tabline' may cause using an invalid pointer. Solution: Set the group start position. (closes vim/vim#6505) https://github.com/vim/vim/commit/f56c95fdad5af521887f8cd7bc15729b5355231d
* | vim-patch:8.2.1004: line numbers below filler lines not always updatedJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | Problem: Line numbers below filler lines not always updated. Solution: Don't break out of the win_line() loop too early. (Christian Brabandt, closes vim/vim#6294, closes vim/vim#6138) https://github.com/vim/vim/commit/511feec6f0a9e954f1d7353425fa51232b1a8e88
* | vim-patch:8.1.2172: spell highlight is wrong at start of the lineJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Spell highlight is wrong at start of the line. Solution: Fix setting the "v" variable. (closes vim/vim#5078) https://github.com/vim/vim/commit/7751d1d1a3d447d0d48f57f34e0da9f7c6ac433d Skip spell tests in OpenBSD. Nvim or screen likely crashed. Revist once issue #12104 is fixed. Skip the test for the following reasons: - unknown regression caused by https://github.com/neovim/neovim/issues/12104 - cannot revert failing test from https://github.com/neovim/neovim/commit/ed0d135247790f67ead7f1a8c21a020790e80a74
* | vim-patch:8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wronglyJan Edmund Lazo2020-08-02
| | | | | | | | | | | | Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly. Solution: Override the 'iskeyword' value. (Taro Muraoka, closes vim/vim#6502) https://github.com/vim/vim/commit/470adb827f3d9e6cf62f685738d2db216daf3738
* | vim-patch:8.2.1252: ":marks" may show '< and '> mixed upPeter Wolf2020-07-28
|/ | | | | | Problem: ":marks" may show '< and '> mixed up. Solution: Show the mark position as where '< and '> would jump. https://github.com/vim/vim/commit/54c3fcd852f9d986f81547429e850b3364f058d6
* Merge pull request #12575 from cbarrete/vim-8.2.0935Matthieu Coudron2020-07-20
|\ | | | | [RFC] vim-patch:8.2.{0935,0937}
| * vim-patch:8.2.0935: flattening a list with existing code is slowCédric Barreteau2020-07-15
| | | | | | | | | | | | Problem: Flattening a list with existing code is slow. Solution: Add flatten(). (Mopp, closes vim/vim#3676) https://github.com/vim/vim/commit/077a1e670ad69ef4cefc22103ca6635bd269e764
* | vim-patch:8.2.1222: using valgrind in Vim command started by test doesn't workJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | Problem: When using valgrind a Vim command started by a test uses the same log file name which gets overwritten. Solution: Fix regexp to rename the log file. https://github.com/vim/vim/commit/657a826c07b4ea3f8846b6acb2c50b82c2d81e50
* | vim-patch:8.2.1211: removed more than dead codeJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Removed more than dead code. Solution: Put back the decrement. https://github.com/vim/vim/commit/8455c5ed31c9cb2919f5e62693bab6b09bf60df2 N/A patch for version.c: vim-patch:8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code. https://github.com/vim/vim/commit/810af5ea460eab820cc5899892067d8c242be688 vim-patch:8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Problem: MS-Windows: default _vimrc not correct in silent install mode. Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes vim/vim#6451) https://github.com/vim/vim/commit/ceb56ddbafbca01e52ff4291d9480bf83d739793 vim-patch:8.2.1215: Atari MiNT support is outdated Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it. https://github.com/vim/vim/commit/e3f915d12c8fe0466918a29ab4eaef153f71a2cd
* | vim-patch:8.2.0899: assert_equalfile() does not give a hint about the differenceJan Edmund Lazo2020-07-19
| | | | | | | | | | | | Problem: Assert_equalfile() does not give a hint about the difference. Solution: Display the last seen text. https://github.com/vim/vim/commit/30cc44a97f0ba1349e1a522dab22b11f47888183
* | vim-patch:8.2.0893: assert_equalfile() does not take a third argumentJan Edmund Lazo2020-07-19
| | | | | | | | | | | | Problem: Assert_equalfile() does not take a third argument. Solution: Implement the third argument. (Gary Johnson) https://github.com/vim/vim/commit/fb517bac2384798bb5142ed1f75f965f93984c0a
* | vim-patch:8.2.1170: cursor off by one with block paste while 'virtualedit' "all"Jan Edmund Lazo2020-07-19
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor off by one with block paste while 'virtualedit' is "all". Solution: Adjust condition. (Hugo Gualandi, closes vim/vim#6430) https://github.com/vim/vim/commit/ef85a9b2d9e992ab594e089af3883e381cfad426 N/A patches for version.c: vim-patch:8.2.1114: terminal test sometimes times out Problem: Terminal test sometimes times out. Solution: Split the test in two parts. https://github.com/vim/vim/commit/1112c0febb509d0cb219f3a2479fd36833507167 vim-patch:8.2.1171: possible crash when out of memory Problem: Possible crash when out of memory. Solution: Check for NULL pointer. (Dominique Pellé, closes vim/vim#6432) https://github.com/vim/vim/commit/58bb61cf5ee008254eb331bc3574eac87d2dcc4a vim-patch:8.2.1172: error messages when doing "make clean" in doc or tee Problem: Error messages when doing "make clean" in the runtime/doc or src/tee directories. Solution: Use "rm -f". https://github.com/vim/vim/commit/08fc48492acc07259d91293df12bf66447819443 vim-patch:8.2.1173: tee doesn't build on some systems Problem: Tee doesn't build on some systems. Solution: Include header files. (Dominique Pelle, closes vim/vim#6431) https://github.com/vim/vim/commit/40043152924827fa8c4064951065ff507c610164 vim-patch:8.2.1177: terminal2 test sometimes hangs in the GUI Problem: Terminal2 test sometimes hangs in the GUI. Solution: Move some tests to other files to further locate the problem. Set the GUI to a fixed screen size. https://github.com/vim/vim/commit/18aa13d13b69c090dbe186cd4939896488c433e3 vim-patch:8.2.1179: Test_termwinscroll() sometimes hangs in the GUI Problem: Test_termwinscroll() sometimes hangs in the GUI. Solution: Skip the test in the GUI. https://github.com/vim/vim/commit/f65927fc8d0102ef2d0fea776381caedf4c51e32 vim-patch:8.2.1180: build failure in small version Problem: Build failure in small version. Solution: Add #ifdef. https://github.com/vim/vim/commit/1e624c912dff19e889c9398b56fe537952c02fef vim-patch:8.2.1181: json code not fully tested Problem: Json code not fully tested. Solution: Add more test coverage. (Dominique Pellé, closes vim/vim#6433) https://github.com/vim/vim/commit/21e5bdd271fa4d0ff4511cf74b160315e1d17cff
* vim-patch:8.2.1060: not all elinks files are recognizedJan Edmund Lazo2020-07-04
| | | | | | Problem: Not all elinks files are recognized. Solution: Just check for "elinks.conf". (Guido Cella, closes vim/vim#6337) https://github.com/vim/vim/commit/5f36d5fbb836e6fdeb9e3b2c26edb88e45150db4
* vim-patch:8.1.1372: when evaluating 'statusline' the current window is unknownJan Edmund Lazo2020-07-04
| | | | | | | | Problem: When evaluating 'statusline' the current window is unknown. (Daniel Hahler) Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid" when evaluationg %!. (closes vim/vim#4406, closes vim/vim#3299) https://github.com/vim/vim/commit/1c6fd1e100fd0457375642ec50d483bcc0f61bb2
* vim-patch:8.2.1055: no filetype set for pacman config filesJan Edmund Lazo2020-07-04
| | | | | | Problem: No filetype set for pacman config files. Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes vim/vim#6335) https://github.com/vim/vim/commit/73b4465ba7f170c5a1701ad908144970e758b1f5
* Merge pull request #12133 from bradking/syntax-foldJames McCoy2020-06-24
|\
| * vim-patch:8.2.0865 syntax: Add command to control how foldlevel is computedBrad King2020-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Syntax foldlevel is taken from the start of the line. Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in the line. https://github.com/vim/vim/commit/e35a52aee718c881bdfa69a47a1068df6ab6c60a With `foldmethod=syntax` the foldlevel of a line is computed based on syntax items on the line. Previously we always used the level of the syntax item containing the start of the line. This works well in cases such as: if (...) { ... } else if (...) { ... } else { ... } which folds like this: +--- 3 lines: if (...) {--------------------------- +--- 3 lines: else if (...) {---------------------- +--- 3 lines: else {------------------------------- However, the code: if (...) { ... } else if (...) { ... } else { ... } folds like this: +--- 7 lines: if (...) {--------------------------- We can make the latter case fold like this: +--- 2 lines: if (...) {--------------------------- +--- 2 lines: } else if (...) {-------------------- +--- 3 lines: } else {----------------------------- by choosing on each line the lowest fold level that is followed by a higher fold level. Add a syntax command :syntax foldlevel [start | minimum] to choose between these two methods of computing the foldlevel of a line.