Matthew Martin
a9be0975c8
tests: Directly diff expected_region_highlight against region_highlight
há 6 anos
Matthew Martin
ecdda36ef5
brackets: Ignore quotes
Closes #112 . Closes #138 .
há 6 anos
Matthew Martin
f547f7768c
brackets: Add test for highlighting errors with no styles
há 6 anos
m0viefreak
4c4baede51
'brackets': Don't highlight corresponding bracket on accept-line
há 8 anos
m0viefreak
5fe8fd8bdc
'brackets': Fix for one-based indexing
Use correct indexing also for cursor-matchingbracket.
Fixup for 95d82568d8
há 8 anos
Matthew Martin
b5955213b9
tests: Add tests for 'brackets' and 'pattern'
há 8 anos
Matthew Martin
eaa4335c34
tests: Set ZSH_HIGHLIGHT_STYLES=() during tests
Since the _zsh_highlight_add_highlight that the tests use ignores
ZSH_HIGHLIGHT_STYLES, we can test both an injective mapping and an empty
mapping at once.
há 8 anos
Matthew Martin
4da9889d15
tests: Use 'NONE' to denote no highlighting
'none' is a valid highlighting type. Since by convention styles are all
lowercase, 'NONE' shouldn't conflict with anything.
Closes #289 .
há 8 anos
Matthew Martin
a830613467
tests: Specify the style key instead of the style itself
há 8 anos
Matthew Martin
31ac2b36a9
tests: Quote style in expected_region_highlight
há 8 anos
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
há 9 anos
Daniel Shahaf
9e80fe8f02
Bump copyright years.
há 9 anos
Daniel Shahaf
c46b8d169e
test harness: Fix off-by-one discrepancy between observed and expected.
Fixes issue #195 .
há 9 anos
Andreas Gahr
b1b65dc486
bracket highlighter: small typo in testcase - document new style
há 13 anos
Andreas Gahr
0d55207c78
simple testcases for bracket highlighter - actually add files
há 13 anos