Matthew Martin
d3678ec7a8
tests: Remove unused_highlight
8 lat temu
Matthew Martin
a830613467
tests: Specify the style key instead of the style itself
8 lat temu
Matthew Martin
31ac2b36a9
tests: Quote style in expected_region_highlight
8 lat temu
Daniel Shahaf
8b4adbd991
Fix issue #222 , "command word after repeat".
9 lat temu
Daniel Shahaf
6fbd2aa957
Add an XFail test for issue #222 , "command word after repeat".
9 lat temu
Daniel Shahaf
2218e26bf8
command word: Highlight 'else' correctly. Part of issue #207 .
9 lat temu
Daniel Shahaf
b397b12ac1
command word: Start fixing issue #207 , "Word following certain reserved words should be a command word".
9 lat temu
Daniel Shahaf
87deac3062
command word: Add an XFail test for issue #207 .
9 lat temu
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 lat temu
Daniel Shahaf
9e80fe8f02
Bump copyright years.
9 lat temu
Daniel Shahaf
f7cb4741d6
Followup to previous: Extend the 'alias' test.
9 lat temu
Daniel Shahaf
81c8d78d12
tests: Cover 'alias' and 'suffix-alias'.
This is part of issue zsh-users/zsh-syntax-highlighting#198 .
9 lat temu
Daniel Shahaf
416934202e
tests: Cover 'single-quoted-argument', 'double-hyphen-option', and 'function'.
This is part of issue zsh-users/zsh-syntax-highlighting#198 .
9 lat temu
Daniel Shahaf
186536705b
tests: path-tilde-named.zsh: Fix expectations
The path string ends at offset 26, not 23.
9 lat temu
Takeshi Banse
1d729202ec
add tests for handling tildes
Signed-off-by: Takeshi Banse <takebi@laafc.net>
13 lat temu
Takeshi Banse
48a18291f9
add some tests
Signed-off-by: Takeshi Banse <takebi@laafc.net>
13 lat temu
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 lat temu
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 lat temu
Julien Nicoulaud
f962bdf1e7
Fix regression
13 lat temu
Julien Nicoulaud
9d63573e4e
Issue 30: Add a test script to watch performance
13 lat temu