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