f4d3dcb42f 
								
							 
						 
						
							
							
								
								'brackets': Move highlight call outside conditional  
							
							
							
						 
						
							2016-05-04 20:50:55 -05:00  
				
					
						
							
							
								 
						
							
								fd84010252 
								
							 
						 
						
							
							
								
								'brackets': Lift local declarations from inside loops  
							
							
							
						 
						
							2016-05-04 20:50:55 -05:00  
				
					
						
							
							
								 
						
							
								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 . 
							
						 
						
							2016-04-30 12:48:44 -05:00  
				
					
						
							
							
								 
						
							
								341a3ae1f0 
								
							 
						 
						
							
							
								
								highlighters: Use _zsh_highlight_add_highlight  
							
							... 
							
							
							
							_zsh_highlight_add_highlight appends to region_highlight $1 $2 and the
next non-null parameter. If there is no non-null parameter, do nothing,
This is so that highlighters can add a style with fallbacks if the most
specific style is not defined. If none of the applicable styles are
defined, do the right thing and don't add an invalid entry to
region_highlight.
The pattern highlighter doesn't use this function as it'd need too large
of an API change. 
							
						 
						
							2016-04-29 10:09:16 -05:00  
				
					
						
							
							
								 
						
							
								089329660b 
								
							 
						 
						
							
							
								
								highlighters: Pass around the style key instead of the style itself  
							
							
							
						 
						
							2016-04-29 09:53:05 -05:00  
				
					
						
							
							
								 
						
							
								a830613467 
								
							 
						 
						
							
							
								
								tests: Specify the style key instead of the style itself  
							
							
							
						 
						
							2016-04-29 09:51:13 -05:00  
				
					
						
							
							
								 
						
							
								b52a485c5c 
								
							 
						 
						
							
							
								
								brackets: Optimize a tiny bit.  
							
							... 
							
							
							
							Compute «${#BUFFER}» just once.  I haven't measured the effect of this, but
it might just avoid a strlen() every time around the loop, which could add
up for large ${BUFFER}s.
See issue #295 . 
							
						 
						
							2016-04-22 14:14:15 +00:00  
				
					
						
							
							
								 
						
							
								31ac2b36a9 
								
							 
						 
						
							
							
								
								tests: Quote style in expected_region_highlight  
							
							
							
						 
						
							2016-04-02 09:45:24 -05:00  
				
					
						
							
							
								 
						
							
								8e115052e9 
								
							 
						 
						
							
							
								
								docs: Fix broken symlinks  
							
							
							
						 
						
							2015-11-24 00:40:09 -06:00  
				
					
						
							
							
								 
						
							
								0ab450ae47 
								
							 
						 
						
							
							
								
								docs: Move docs into docs/  
							
							
							
						 
						
							2015-11-24 00:09:21 -06:00  
				
					
						
							
							
								 
						
							
								35e0b0ca69 
								
							 
						 
						
							
							
								
								docs: Remove duplicate 'How to activate it' sections  
							
							
							
						 
						
							2015-11-24 00:09:21 -06:00  
				
					
						
							
							
								 
						
							
								2dd6923c30 
								
							 
						 
						
							
							
								
								docs: Move highlighter headers down one level  
							
							
							
						 
						
							2015-11-24 00:09:21 -06:00  
				
					
						
							
							
								 
						
							
								6e99128987 
								
							 
						 
						
							
							
								
								docs copyedit: minor: Spelling/punctuation fix.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								3f163a2fd4 
								
							 
						 
						
							
							
								
								docs copyedit: Rewrap to 80 columns, part 2.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								8ea392e361 
								
							 
						 
						
							
							
								
								docs copyedit: Restyle bold-italic to fixed-width.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								91e4a576fb 
								
							 
						 
						
							
							
								
								docs copyedit: Port  6d93ea07fd to the other highlighters' README's.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								6c033e62e9 
								
							 
						 
						
							
							
								
								docs copyedit: Whitespace.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								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 
							
						 
						
							2015-10-20 11:49:51 +00:00  
				
					
						
							
							
								 
						
							
								9e80fe8f02 
								
							 
						 
						
							
							
								
								Bump copyright years.  
							
							
							
						 
						
							2015-09-24 16:46:28 +00:00  
				
					
						
							
							
								 
						
							
								c46b8d169e 
								
							 
						 
						
							
							
								
								test harness: Fix off-by-one discrepancy between observed and expected.  
							
							... 
							
							
							
							Fixes issue #195 . 
							
						 
						
							2015-09-12 20:48:25 +00:00  
				
					
						
							
							
								 
						
							
								e8cc271314 
								
							 
						 
						
							
							
								
								Resolves slow performance in brackets highlighter  
							
							
							
						 
						
							2014-03-24 08:45:34 +02:00  
				
					
						
							
							
								 
						
							
								732b7d6e65 
								
							 
						 
						
							
							
								
								Fix bracket highlighter  
							
							
							
						 
						
							2012-04-07 17:09:15 +02:00  
				
					
						
							
							
								 
						
							
								b1b65dc486 
								
							 
						 
						
							
							
								
								bracket highlighter: small typo in testcase - document new style  
							
							
							
						 
						
							2011-08-08 17:01:51 +02:00  
				
					
						
							
							
								 
						
							
								06ad03e32c 
								
							 
						 
						
							
							
								
								bracket highlighter: simplify  
							
							
							
						 
						
							2011-08-08 16:01:53 +02:00  
				
					
						
							
							
								 
						
							
								8375ef6e72 
								
							 
						 
						
							
							
								
								bracket highlighter: make the style configurable, when cursor is on bracket  
							
							
							
						 
						
							2011-08-08 15:55:47 +02:00  
				
					
						
							
							
								 
						
							
								24243becba 
								
							 
						 
						
							
							
								
								bracket highlighter: fix typo from last commit  
							
							
							
						 
						
							2011-08-08 15:51:40 +02:00  
				
					
						
							
							
								 
						
							
								e1ed255c0a 
								
							 
						 
						
							
							
								
								bracket highlighter: start loops with 0 which is more natural and also more in line whith the other highlighters  
							
							
							
						 
						
							2011-08-08 14:48:16 +02:00  
				
					
						
							
							
								 
						
							
								0d55207c78 
								
							 
						 
						
							
							
								
								simple testcases for bracket highlighter - actually add files  
							
							
							
						 
						
							2011-08-05 16:38:46 +02:00  
				
					
						
							
							
								 
						
							
								e7ab165310 
								
							 
						 
						
							
							
								
								* optimize discrimination of bracket-type  
							
							... 
							
							
							
							* use a nicer variable name 
							
						 
						
							2011-07-13 12:47:27 -07:00  
				
					
						
							
							
								 
						
							
								f1eb5aeef7 
								
							 
						 
						
							
							
								
								skip all brackets inside quotes (" and ')  
							
							
							
						 
						
							2011-07-12 08:11:21 -07:00  
				
					
						
							
							
								 
						
							
								2fe9505647 
								
							 
						 
						
							
							
								
								simplify check for bracket under cursor  
							
							
							
						 
						
							2011-07-12 08:07:08 -07:00  
				
					
						
							
							
								 
						
							
								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 
							
						 
						
							2011-07-12 07:56:12 -07:00  
				
					
						
							
							
								 
						
							
								d4acac9837 
								
							 
						 
						
							
							
								
								eliminate a variable and simplify  
							
							
							
						 
						
							2011-07-08 12:43:59 -07:00  
				
					
						
							
							
								 
						
							
								ef74d2b611 
								
							 
						 
						
							
							
								
								Only match brackets of the same type  
							
							
							
						 
						
							2011-07-08 12:25:09 -07:00  
				
					
						
							
							
								 
						
							
								48c30a805a 
								
							 
						 
						
							
							
								
								highlight opening bracket with "bracket-error" style, if the closing bracket is still missing  
							
							
							
						 
						
							2011-07-08 07:52:32 -07:00  
				
					
						
							
							
								 
						
							
								ef4f5ed638 
								
							 
						 
						
							
							
								
								Fix READMEs  
							
							
							
						 
						
							2011-06-12 23:16:41 +02:00  
				
					
						
							
							
								 
						
							
								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 
							
						 
						
							2011-06-12 22:57:14 +02:00