Matthew Martin
a830613467
tests: Specify the style key instead of the style itself
8 年前
Matthew Martin
78290e043b
tests: Expect the correct style
8 年前
Matthew Martin
31ac2b36a9
tests: Quote style in expected_region_highlight
8 年前
Daniel Shahaf
c0dafd1d85
brackets: Highlight the closing brackets of subshells and blocks. (Issue #226.)
9 年前
Daniel Shahaf
9e178f9f39
subshells: Highlight the opening parenthesis correctly. (Issue #166.)
Followup to 0d1bfbcbfa
.
9 年前
Daniel Shahaf
5a38710564
subshells: Add an XFail test demonstrating that #166 is not yet fixed.
Reported-by: Antony Lee
9 年前
Daniel Shahaf
0d1bfbcbfa
Highlight subshells and anonymous functions correctly.
Fixes zsh-users/zsh-syntax-highlighting#166.
Fixes zsh-users/zsh-syntax-highlighting#194.
Builds upon the issue #207 work.
9 年前
Daniel Shahaf
20d106bd4d
noop: Associate an XFAIL test with its issue.
9 年前
Daniel Shahaf
11c060ab76
test harness: Fix a bug whereby 'todo' state would propagate to all subsequent test points.
Update expectations on the subshell test (which triggered this bug, since it has
a passing test point following a 'todo' test point).
9 年前
Antony Lee
22c8736e2b
Add XFAIL test for issue #160 , "subshells highlighted incorrectly".
9 年前
Daniel Shahaf
c30301d474
Drop unnecessary shebang lines.
All these files should be sourced, not executed; and Debian's lintian complains:
W: zsh-syntax-highlighting: script-not-executable usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
9 年前
Daniel Shahaf
9e80fe8f02
Bump copyright years.
9 年前
Daniel Shahaf
c46b8d169e
test harness: Fix off-by-one discrepancy between observed and expected.
Fixes issue #195 .
9 年前
Andreas Gahr
0d55207c78
simple testcases for bracket highlighter - actually add files
13 年前
Julien Nicoulaud
0772ddd346
Big refactoring.
* Don't override user defined styles
* Better modularisation of highlighters
* Allow to define which highlighters are activated
* Allow to define the order in which they are defined
* Minor performance optimizations
* Fixed some variables leak
* Improve documentation
* Brackets highlighter: use ZSH_HIGHLIGHT_STYLES instead of a specific array
13 年前
Julien Nicoulaud
ea792cbf87
Add a mechanism for testing the correctness of the highlighting.
Feel free to add more test data !
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
13 年前
Julien Nicoulaud
f962bdf1e7
Fix regression
13 年前
Julien Nicoulaud
9d63573e4e
Issue 30: Add a test script to watch performance
13 年前