summaryrefslogtreecommitdiff
path: root/src/testdir/test_syntax.vim
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.0283: cannot complete "syn list @cluster"v9.0.0283bfredl2022-08-261-0/+4
| | | | | Problem: Cannot complete "syn list @cluster". Solution: Recognize and handle "list @". (Björn Linse, closes #10990)
* patch 8.2.5152: search() gets stuck with "c" and skip evaluates to truev8.2.5152zeertzjq2022-06-231-5/+7
| | | | | Problem: search() gets stuck with "c" and skip evaluates to true. Solution: Reset the SEARCH_START option. (closes #10608)
* patch 8.2.5124: when syntax timeout test fails it does not show the timev8.2.5124Bram Moolenaar2022-06-181-5/+3
| | | | | Problem: When syntax timeout test fails it does not show the time. Solution: Use assert_inrange().
* patch 8.2.5057: using gettimeofday() for timeout is very inefficientv8.2.5057Paul Ollis2022-06-051-3/+12
| | | | | Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
* patch 8.2.4762: using freed memory using synstack() and synID() in WinEnterv8.2.4762zeertzjq2022-04-161-0/+13
| | | | | Problem: Using freed memory when using synstack() and synID() in WinEnter. Solution: Check using the syntax window. (closes #10204)
* patch 8.2.3839: using \z() with \z1 not tested for syntax highlightingv8.2.3839Dominique Pelle2021-12-171-0/+18
| | | | | Problem: Using \z() with \z1 not tested for syntax highlighting. Solution: Add a test. (Dominique Pellé, closes #9365)
* patch 8.2.3637: typos in test filesv8.2.3637Dominique Pelle2021-11-211-2/+1
| | | | | Problem: Typos in test files. Solution: Correct the typos. (Dominique Pellé, closes #9175)
* patch 8.2.2837: various code lines not covered by testsv8.2.2837Dominique Pelle2021-05-061-0/+3
| | | | | Problem: Various code lines not covered by tests. Solution: Add test cases. (Dominique Pellé, closes #8178)
* patch 8.2.2761: using "syn include" does not work properlyv8.2.2761Bram Moolenaar2021-04-141-0/+17
| | | | | | Problem: Using "syn include" does not work properly. Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung, closes #8104)
* patch 8.2.2068: transparent syntax item uses start/end of containing regionv8.2.2068Bram Moolenaar2020-11-291-0/+96
| | | | | | | Problem: Transparent syntax item uses start/end of containing region. Solution: Do not change the startpos and endpos of a transparent region to that of its containing region. (Adrian Ghizaru, closes #7349, closes #7391)
* patch 8.2.2011: "syn sync" reports a very large numberv8.2.2011Bram Moolenaar2020-11-181-0/+3
| | | | | Problem: "syn sync" reports a very large number. Solution: Use "at the first line".
* patch 8.2.1736: failure to compile a pattern not tested muchv8.2.1736Bram Moolenaar2020-09-231-0/+2
| | | | | | Problem: Failure to compile a pattern not tested much. Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan, closes #7004)
* patch 8.2.1678: crash when using ":set" after ":ownsyntax"v8.2.1678Bram Moolenaar2020-09-131-0/+4
| | | | | Problem: Crash when using ":set" after ":ownsyntax". Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
* patch 8.2.1593: tests do not check the error number properlyv8.2.1593Bram Moolenaar2020-09-041-3/+3
| | | | | Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
* patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar2020-08-121-12/+5
| | | | | | | Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
* patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar2020-07-111-1/+1
| | | | | | Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior.
* patch 8.2.0915: search() cannot skip over matches like searchpair() canv8.2.0915Bram Moolenaar2020-06-061-0/+50
| | | | | Problem: Search() cannot skip over matches like searchpair() can. Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
* patch 8.2.0866: not enough tests for buffer writingv8.2.0866Bram Moolenaar2020-05-311-3/+1
| | | | | | Problem: Not enough tests for buffer writing. Solution: Add more tests. Use CheckRunVimInTerminal in more places. (Yegappan Lakshmanan, closes #6167)
* patch 8.2.0865: syntax foldlevel is taken from the start of the linev8.2.0865Bram Moolenaar2020-05-311-1/+84
| | | | | | 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. (Brad King, closes #6087)
* patch 8.2.0610: some tests are still old stylev8.2.0610Bram Moolenaar2020-04-201-0/+4
| | | | | Problem: Some tests are still old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
* patch 8.2.0606: several syntax HL errors not checkedv8.2.0606Bram Moolenaar2020-04-191-50/+45
| | | | | Problem: Several syntax HL errors not checked. Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
* patch 8.2.0531: various errors not testedv8.2.0531Bram Moolenaar2020-04-081-0/+58
| | | | | Problem: Various errors not tested. Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
* patch 8.2.0448: various functions not properly testedv8.2.0448Bram Moolenaar2020-03-251-0/+4
| | | | | | Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes #5843)
* patch 8.2.0049: command line completion not fully testedv8.2.0049Bram Moolenaar2019-12-271-0/+5
| | | | | | Problem: Command line completion not fully tested. Solution: Add more test cases. Make help sorting stable. (Dominique Pelle, closes #5402)
* patch 8.1.2190: syntax test fails on Macv8.1.2190Bram Moolenaar2019-10-201-4/+2
| | | | | Problem: Syntax test fails on Mac. Solution: Limit the window size to 20 rows.
* patch 8.1.2189: syntax highlighting wrong for tabv8.1.2189Bram Moolenaar2019-10-201-0/+2
| | | | | Problem: Syntax highlighting wrong for tab. Solution: Don't clear syntax attribute n_extra is non-zero.
* patch 8.1.2185: syntax test failsv8.1.2185Bram Moolenaar2019-10-191-1/+3
| | | | | Problem: Syntax test fails. Solution: Add missing file patch.
* patch 8.1.2176: syntax attributes not combined with Visual highlightingv8.1.2176Bram Moolenaar2019-10-181-1/+6
| | | | | | Problem: Syntax attributes not combined with Visual highlighting. (Arseny Nasokin) Solution: Combine the attributes. (closes #5083)
* patch 8.1.2156: first character after Tab is not highlightedv8.1.2156Bram Moolenaar2019-10-161-4/+4
| | | | | Problem: First character after Tab is not highlighted. Solution: Remember the syntax attribute for a column.
* patch 8.1.1931: syntax test failsv8.1.1931Bram Moolenaar2019-08-261-1/+1
| | | | | Problem: Syntax test fails. Solution: Add new javascriptreact type to completions.
* patch 8.1.1826: tests use hand coded feature and option checksv8.1.1826Bram Moolenaar2019-08-071-3/+2
| | | | | Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests.
* patch 8.1.1809: more functions can be used as a methodv8.1.1809Bram Moolenaar2019-08-041-2/+2
| | | | | Problem: More functions can be used as a method. Solution: Add has_key(), split(), str2list(), etc.
* patch 8.1.1795: no syntax HL after splitting windows with :bufdov8.1.1795Bram Moolenaar2019-08-031-0/+38
| | | | | | | Problem: No syntax HL after splitting windows with :bufdo. (Yasuhiro Matsumoto) Solution: Trigger Syntax autocommands in buffers that are active. (closes #4761)
* patch 8.1.1544: some balloon tests don't run when they canv8.1.1544Bram Moolenaar2019-06-151-3/+2
| | | | | | | Problem: Some balloon tests don't run when they can. Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi, closes #4538) Change the feature check into a command for consistency.
* patch 8.1.1524: tests are silently skippedv8.1.1524Bram Moolenaar2019-06-131-1/+1
| | | | | Problem: Tests are silently skipped. Solution: Throw an exception for skipped tests in more places.
* patch 8.1.1483: skipped tests are not properly listedv8.1.1483Bram Moolenaar2019-06-061-1/+1
| | | | | Problem: Skipped tests are not properly listed. Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
* patch 8.1.1193: typos and small problems in test filesv8.1.1193Bram Moolenaar2019-04-201-2/+2
| | | | | Problem: Typos and small problems in test files. Solution: Small improvements.
* patch 8.1.0559: command line completion not sufficiently testedv8.1.0559Bram Moolenaar2018-12-021-0/+9
| | | | | Problem: Command line completion not sufficiently tested. Solution: Add more tests. (Dominique Pelle, closes #3622)
* patch 8.1.0098: segfault when pattern with \z() is very slowv8.1.0098Bram Moolenaar2018-06-231-0/+12
| | | | | | Problem: Segfault when pattern with \z() is very slow. Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be able to test this. Fix that 'searchhl' resets called_emsg.
* patch 8.0.1539: no test for the popup menu positioningv8.0.1539Bram Moolenaar2018-02-241-8/+3
| | | | | Problem: No test for the popup menu positioning. Solution: Add a screendump test for the popup menu.
* patch 8.0.1535: C syntax test still fails when using gvimv8.0.1535Bram Moolenaar2018-02-241-0/+2
| | | | | Problem: C syntax test still fails when using gvim. Solution: Clear Normal cterm highlighting instead of setting it.
* patch 8.0.1534: C syntax test fails when using gvimv8.0.1534Bram Moolenaar2018-02-241-0/+8
| | | | | | Problem: C syntax test fails when using gvim Solution: Force running in a terminal. Check that 'background' is correct even when $COLORFGBG is set.
* patch 8.0.1527: screen dump test fails on MS-Windowsv8.0.1527Bram Moolenaar2018-02-201-1/+2
| | | | | Problem: Screen dump test fails on MS-Windows. Solution: Skip dump test on MS-Windows for now.
* patch 8.0.1526: no test using a screen dump yetv8.0.1526Bram Moolenaar2018-02-201-1/+37
| | | | | Problem: No test using a screen dump yet. Solution: Add a test for C syntax highlighting. Add helper functions.
* patch 8.0.0682: no test for synIDtrans()v8.0.0682Bram Moolenaar2017-06-271-2/+25
| | | | | Problem: No test for synIDtrans(). Solution: Add a test. (Dominique Pelle, closes #1796)
* patch 8.0.0672: third item of synconcealed() changes too oftenv8.0.0672Bram Moolenaar2017-06-241-5/+5
| | | | | Problem: Third item of synconcealed() changes too often. (Dominique Pelle) Solution: Reset the sequence number at the start of each line.
* patch 8.0.0662: stray FIXME for fixed problemv8.0.0662Bram Moolenaar2017-06-221-6/+0
| | | | | Problem: Stray FIXME for fixed problem. Solution: Remove the comment. (Dominique Pelle)
* patch 8.0.0659: no test for conceal modev8.0.0659Bram Moolenaar2017-06-221-0/+45
| | | | | Problem: No test for conceal mode. Solution: Add a conceal mode test. (Dominique Pelle, closes #1783)
* patch 8.0.0647: syntax highlighting can make cause a freezev8.0.0647Bram Moolenaar2017-06-181-0/+34
| | | | | Problem: Syntax highlighting can make cause a freeze. Solution: Apply 'redrawtime' to syntax highlighting, per window.
* patch 8.0.0616: not always setting 'background' correctly after :hi Normalv8.0.0616Bram Moolenaar2017-06-041-0/+23
| | | | | | | Problem: When setting the cterm background with ":hi Normal" the value of 'background' may be set wrongly. Solution: Check that the color is less than 16. Don't set 'background' when it was set explicitly. (Lemonboy, closes #1710)