Matthew Martin
d3678ec7a8
tests: Remove unused_highlight
8 years ago
Matthew Martin
a830613467
tests: Specify the style key instead of the style itself
8 years ago
Matthew Martin
31ac2b36a9
tests: Quote style in expected_region_highlight
8 years ago
Daniel Shahaf
73ee7c1f6c
Fix part of issue #238 , "fd redirections at command word".
This fixes fd's specified by a (single) digit. The named fd syntax remains an XFail.
8 years ago
Daniel Shahaf
48ecd29180
tests: Add two XFail tests for issue #238 , "fd redirections at command word".
8 years ago
Daniel Shahaf
46cd970bc4
tests: Improve tests by using $unused_highlight.
The default for [redirection] is 'none', so it wasn't actually being tested.
8 years ago
Daniel Shahaf
86e9249709
sudo/redirections: Fix remaining part of issue #221 , "sudo and redirection don't mix".
9 years ago
Daniel Shahaf
be006aded5
sudo/redirections: Fix part of issue #221 , "sudo and redirection don't mix".
9 years ago
Daniel Shahaf
e49251b6fa
sudo/redirections: Add two XFail tests for issue #221 , "sudo and redirection don't mix".
9 years ago
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 years ago
Daniel Shahaf
9e80fe8f02
Bump copyright years.
9 years ago
Daniel Shahaf
c46b8d169e
test harness: Fix off-by-one discrepancy between observed and expected.
Fixes issue #195 .
9 years ago
Andreas Gahr
0d55207c78
simple testcases for bracket highlighter - actually add files
13 years ago
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 years ago
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 years ago
Julien Nicoulaud
f962bdf1e7
Fix regression
13 years ago
Julien Nicoulaud
9d63573e4e
Issue 30: Add a test script to watch performance
13 years ago