Randy
e8cc271314
Resolves slow performance in brackets highlighter
10 vuotta sitten
Jan M. Binder
732b7d6e65
Fix bracket highlighter
12 vuotta sitten
Andreas Gahr
b1b65dc486
bracket highlighter: small typo in testcase - document new style
13 vuotta sitten
Andreas Gahr
06ad03e32c
bracket highlighter: simplify
13 vuotta sitten
Andreas Gahr
8375ef6e72
bracket highlighter: make the style configurable, when cursor is on bracket
13 vuotta sitten
Andreas Gahr
24243becba
bracket highlighter: fix typo from last commit
13 vuotta sitten
Andreas Gahr
e1ed255c0a
bracket highlighter: start loops with 0 which is more natural and also more in line whith the other highlighters
13 vuotta sitten
Andreas Gahr
0d55207c78
simple testcases for bracket highlighter - actually add files
13 vuotta sitten
garinger
e7ab165310
* optimize discrimination of bracket-type
* use a nicer variable name
13 vuotta sitten
garinger
f1eb5aeef7
skip all brackets inside quotes (" and ')
13 vuotta sitten
garinger
2fe9505647
simplify check for bracket under cursor
13 vuotta sitten
garinger
05e4a031c7
* remove a safety belt - no need to check if array has elements, as defaults are provided
* reuse $pos instead of using another variable
* remove declaration forgotten in last commit
13 vuotta sitten
garinger
d4acac9837
eliminate a variable and simplify
13 vuotta sitten
garinger
ef74d2b611
Only match brackets of the same type
13 vuotta sitten
garinger
48c30a805a
highlight opening bracket with "bracket-error" style, if the closing bracket is still missing
13 vuotta sitten
Julien Nicoulaud
ef4f5ed638
Fix READMEs
13 vuotta sitten
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 vuotta sitten