| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Cannot complete "syn list @cluster".
Solution: Recognize and handle "list @". (Björn Linse, closes #10990)
|
|
|
|
|
| |
Problem: search() gets stuck with "c" and skip evaluates to true.
Solution: Reset the SEARCH_START option. (closes #10608)
|
|
|
|
|
| |
Problem: When syntax timeout test fails it does not show the time.
Solution: Use assert_inrange().
|
|
|
|
|
| |
Problem: Using gettimeofday() for timeout is very inefficient.
Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
|
|
|
|
|
| |
Problem: Using freed memory when using synstack() and synID() in WinEnter.
Solution: Check using the syntax window. (closes #10204)
|
|
|
|
|
| |
Problem: Using \z() with \z1 not tested for syntax highlighting.
Solution: Add a test. (Dominique Pellé, closes #9365)
|
|
|
|
|
| |
Problem: Typos in test files.
Solution: Correct the typos. (Dominique Pellé, closes #9175)
|
|
|
|
|
| |
Problem: Various code lines not covered by tests.
Solution: Add test cases. (Dominique Pellé, closes #8178)
|
|
|
|
|
|
| |
Problem: Using "syn include" does not work properly.
Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
closes #8104)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: "syn sync" reports a very large number.
Solution: Use "at the first line".
|
|
|
|
|
|
| |
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes #7004)
|
|
|
|
|
| |
Problem: Crash when using ":set" after ":ownsyntax".
Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
|
|
|
|
|
| |
Problem: Tests do not check the error number properly.0
Solution: Add a colon after the error number. (closes #6869)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
|
|
|
|
|
|
| |
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
|
|
|
|
|
| |
Problem: Several syntax HL errors not checked.
Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
|
|
|
|
|
| |
Problem: Various errors not tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
|
|
|
|
|
|
| |
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes #5843)
|
|
|
|
|
|
| |
Problem: Command line completion not fully tested.
Solution: Add more test cases. Make help sorting stable. (Dominique Pelle,
closes #5402)
|
|
|
|
|
| |
Problem: Syntax test fails on Mac.
Solution: Limit the window size to 20 rows.
|
|
|
|
|
| |
Problem: Syntax highlighting wrong for tab.
Solution: Don't clear syntax attribute n_extra is non-zero.
|
|
|
|
|
| |
Problem: Syntax test fails.
Solution: Add missing file patch.
|
|
|
|
|
|
| |
Problem: Syntax attributes not combined with Visual highlighting. (Arseny
Nasokin)
Solution: Combine the attributes. (closes #5083)
|
|
|
|
|
| |
Problem: First character after Tab is not highlighted.
Solution: Remember the syntax attribute for a column.
|
|
|
|
|
| |
Problem: Syntax test fails.
Solution: Add new javascriptreact type to completions.
|
|
|
|
|
| |
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
|
|
|
|
|
| |
Problem: More functions can be used as a method.
Solution: Add has_key(), split(), str2list(), etc.
|
|
|
|
|
|
|
| |
Problem: No syntax HL after splitting windows with :bufdo. (Yasuhiro
Matsumoto)
Solution: Trigger Syntax autocommands in buffers that are active.
(closes #4761)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Tests are silently skipped.
Solution: Throw an exception for skipped tests in more places.
|
|
|
|
|
| |
Problem: Skipped tests are not properly listed.
Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
|
|
|
|
|
| |
Problem: Typos and small problems in test files.
Solution: Small improvements.
|
|
|
|
|
| |
Problem: Command line completion not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #3622)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: No test for the popup menu positioning.
Solution: Add a screendump test for the popup menu.
|
|
|
|
|
| |
Problem: C syntax test still fails when using gvim.
Solution: Clear Normal cterm highlighting instead of setting it.
|
|
|
|
|
|
| |
Problem: C syntax test fails when using gvim
Solution: Force running in a terminal. Check that 'background' is correct
even when $COLORFGBG is set.
|
|
|
|
|
| |
Problem: Screen dump test fails on MS-Windows.
Solution: Skip dump test on MS-Windows for now.
|
|
|
|
|
| |
Problem: No test using a screen dump yet.
Solution: Add a test for C syntax highlighting. Add helper functions.
|
|
|
|
|
| |
Problem: No test for synIDtrans().
Solution: Add a test. (Dominique Pelle, closes #1796)
|
|
|
|
|
| |
Problem: Third item of synconcealed() changes too often. (Dominique Pelle)
Solution: Reset the sequence number at the start of each line.
|
|
|
|
|
| |
Problem: Stray FIXME for fixed problem.
Solution: Remove the comment. (Dominique Pelle)
|
|
|
|
|
| |
Problem: No test for conceal mode.
Solution: Add a conceal mode test. (Dominique Pelle, closes #1783)
|
|
|
|
|
| |
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
|
|
|
|
|
|
|
| |
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)
|