d330b49b33 
								
							 
						 
						
							
							
								
								Fix variable leakage into global namespace.  
							
							... 
							
							
							
							Similar to zsh-users/zsh-syntax-highlighting#97 . 
							
						 
						
							2015-09-06 19:20:49 +00:00  
				
					
						
							
							
								 
						
							
								f78919d941 
								
							 
						 
						
							
							
								
								Preserve $? of wrapped widgets.  
							
							
							
						 
						
							2015-09-05 21:44:11 +00:00  
				
					
						
							
							
								 
						
							
								eaffd88793 
								
							 
						 
						
							
							
								
								docs: Document homebrew package name.  
							
							... 
							
							
							
							Fixes  zsh-users/zsh-syntax-highlighting#156 . 
						
							2015-09-05 19:21:52 +00:00  
				
					
						
							
							
								 
						
							
								546a5288e2 
								
							 
						 
						
							
							
								
								multiline strings: Add a second test for commit  ff4d402e9a 
							
							
							
						 
						
							2015-09-05 15:08:08 +00:00  
				
					
						
							
							
								 
						
							
								8e7c26f489 
								
							 
						 
						
							
							
								
								Do wrap the 'yank' widget, because that works.  
							
							... 
							
							
							
							Partly reverts eb9870f4db#143  to
fix issue #99 . 
							
						 
						
							2015-09-05 12:50:32 +00:00  
				
					
						
							
							
								 
						
							
								7f41967a17 
								
							 
						 
						
							
							
								
								Highlight array appends: foo+=(bar baz).  
							
							... 
							
							
							
							Fixes  zsh-users/zsh-syntax-highlighting#181 . 
						
							2015-09-05 09:38:02 +00:00  
				
					
						
							
							
								 
						
							
								13a8db1d71 
								
							 
						 
						
							
							
								
								tests: exit non-zero upon failure  
							
							
							
						 
						
							2015-09-05 09:27:51 +00:00  
				
					
						
							
							
								 
						
							
								51aed8a765 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/pr/179'  
							
							... 
							
							
							
							* upstream/pr/179:
  Don't parse first word of array assignment as command 
							
						 
						
							2015-09-04 17:57:08 +00:00  
				
					
						
							
							
								 
						
							
								42495cc5d6 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/pr/161'  
							
							... 
							
							
							
							* upstream/pr/161:
  Don't highlight prefix redirections as error 
							
						 
						
							2015-09-04 17:27:25 +00:00  
				
					
						
							
							
								 
						
							
								ea81e3df6e 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/pr/159'  
							
							... 
							
							
							
							* upstream/pr/159:
  Support literal newlines, part 2
  Update comments. No functional change.
  Highlight the first part of multiline strings correctly
  Support literal newlines
  Support backslash continuations
  Support multiline strings
  Refactoring, no functional change 
							
						 
						
							2015-09-04 17:27:03 +00:00  
				
					
						
							
							
								 
						
							
								c2b9327b07 
								
							 
						 
						
							
							
								
								Support literal newlines, part 2  
							
							
							
						 
						
							2015-09-02 09:30:08 +00:00  
				
					
						
							
							
								 
						
							
								52ece975c3 
								
							 
						 
						
							
							
								
								Update comments. No functional change.  
							
							
							
						 
						
							2015-09-02 02:37:43 +00:00  
				
					
						
							
							
								 
						
							
								7ee9df915d 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/pr/158'  
							
							... 
							
							
							
							* origin/pr/158:
  README: give the rationale for the at-end-of-.zshrc requirement 
							
						 
						
							2015-09-01 16:26:04 +00:00  
				
					
						
							
							
								 
						
							
								85b3446897 
								
							 
						 
						
							
							
								
								README: make installation step 1 more accurate  
							
							... 
							
							
							
							Based on a patch by George Angelopoulos <george@usermod.net>.
Closes  #149 . 
							
						 
						
							2015-08-31 17:27:56 +00:00  
				
					
						
							
							
								 
						
							
								b9b67b9f78 
								
							 
						 
						
							
							
								
								Don't parse first word of array assignment as command  
							
							... 
							
							
							
							Fixes  zsh-users/zsh-syntax-highlighting#178  
						
							2015-08-28 09:52:52 +00:00  
				
					
						
							
							
								 
						
							
								359d48bf78 
								
							 
						 
						
							
							
								
								Don't highlight prefix redirections as error  
							
							... 
							
							
							
							Fixes  zsh-users/zsh-syntax-highlighting#146  
						
							2015-02-16 02:44:56 +00:00  
				
					
						
							
							
								 
						
							
								ff4d402e9a 
								
							 
						 
						
							
							
								
								Highlight the first part of multiline strings correctly  
							
							... 
							
							
							
							Given the following input:
    PREBUFFER=$'echo "foo\n'
    BUFFER='bar"'
This patch causes the '"foo' part to be highlighted as a string.  There
is no test because the tests only check highlighting of BUFFER, and 'bar"'
is already highlighted correctly. 
							
						 
						
							2015-02-02 15:12:59 +00:00  
				
					
						
							
							
								 
						
							
								384be15b13 
								
							 
						 
						
							
							
								
								Support literal newlines  
							
							
							
						 
						
							2015-01-27 10:23:59 +00:00  
				
					
						
							
							
								 
						
							
								23cacb12fe 
								
							 
						 
						
							
							
								
								Support backslash continuations  
							
							
							
						 
						
							2015-01-27 10:23:59 +00:00  
				
					
						
							
							
								 
						
							
								667495bfb7 
								
							 
						 
						
							
							
								
								Support multiline strings  
							
							
							
						 
						
							2015-01-27 10:23:58 +00:00  
				
					
						
							
							
								 
						
							
								2c5acaefa9 
								
							 
						 
						
							
							
								
								Refactoring, no functional change  
							
							... 
							
							
							
							The new function will be used in the next commit. 
							
						 
						
							2015-01-27 10:23:58 +00:00  
				
					
						
							
							
								 
						
							
								0c8c4b73f8 
								
							 
						 
						
							
							
								
								README: give the rationale for the at-end-of-.zshrc requirement  
							
							
							
						 
						
							2015-01-27 10:23:21 +00:00  
				
					
						
							
							
								 
						
							
								a723f504a5 
								
							 
						 
						
							
							
								
								README: make installation step 1 more accurate  
							
							... 
							
							
							
							You cannot download just the "script". You need the entire directory/repo. 
							
						 
						
							2014-09-25 08:20:47 +03:00  
				
					
						
							
							
								 
						
							
								3dc5741900 
								
							 
						 
						
							
							
								
								Merge pull request  #140  from  randomize/pr_fix_issue_#77  
							
							... 
							
							
							
							Pr fix issue #77  
							
						 
						
							2014-09-24 22:58:20 +02:00  
				
					
						
							
							
								 
						
							
								10391d025a 
								
							 
						 
						
							
							
								
								Merge pull request  #134  from sonnym/enable_quick_history_substitution_highlighting  
							
							... 
							
							
							
							highlight ^old^new pattern 
							
						 
						
							2014-09-24 22:54:21 +02:00  
				
					
						
							
							
								 
						
							
								443908b9a2 
								
							 
						 
						
							
							
								
								Merge pull request  #142  from jcassee/master  
							
							... 
							
							
							
							Add 'line' highlighter for the whole buffer 
							
						 
						
							2014-09-24 22:50:54 +02:00  
				
					
						
							
							
								 
						
							
								eb9870f4db 
								
							 
						 
						
							
							
								
								Merge pull request  #143  from vincentbernat/fix/yank-pop  
							
							... 
							
							
							
							zle: don't override yank/yank-pop 
							
						 
						
							2014-09-24 22:49:21 +02:00  
				
					
						
							
							
								 
						
							
								74a183447d 
								
							 
						 
						
							
							
								
								zle: don't override yank/yank-pop  
							
							... 
							
							
							
							`yank-pop` relies on the fact that the last zle command is `yank` or
`yank-pop` to work correctly. Rewriting them prevents this check to work
correctly breaking `yank-pop`.
This fix just disallow overriding of those two zle commands. As a
side-effect, syntax highlighting will not happen when using.
This fixes  #99 . 
							
						 
						
							2014-06-29 11:52:32 +02:00  
				
					
						
							
							
								 
						
							
								d7d4dff1c8 
								
							 
						 
						
							
							
								
								Add 'line' highlighter for the whole buffer  
							
							
							
						 
						
							2014-06-08 00:04:00 +02:00  
				
					
						
							
							
								 
						
							
								7edd08156e 
								
							 
						 
						
							
							
								
								Chaned main highlighter alorithm to resolve issue  #77  
							
							
							
						 
						
							2014-03-29 22:52:10 +02:00  
				
					
						
							
							
								 
						
							
								e8cc271314 
								
							 
						 
						
							
							
								
								Resolves slow performance in brackets highlighter  
							
							
							
						 
						
							2014-03-24 08:45:34 +02:00  
				
					
						
							
							
								 
						
							
								5320f1e18d 
								
							 
						 
						
							
							
								
								Merge pull request  #135  from arcan1s/patch-1  
							
							... 
							
							
							
							Update README.md 
							
						 
						
							2014-01-15 04:15:52 -08:00  
				
					
						
							
							
								 
						
							
								dcb5da9457 
								
							 
						 
						
							
							
								
								Update README.md  
							
							... 
							
							
							
							Edited links to Archlinux packages (the link to `zsh-syntax-highlighting-git` is out-of-date, and `zsh-syntax-highlighting` is now available in [community]) 
							
						 
						
							2014-01-09 04:21:35 +03:00  
				
					
						
							
							
								 
						
							
								c83e266888 
								
							 
						 
						
							
							
								
								#110 : Now using :A modifier, bump zsh version requirement  
							
							
							
						 
						
							2013-12-24 12:40:35 +01:00  
				
					
						
							
							
								 
						
							
								072c064d2a 
								
							 
						 
						
							
							
								
								Merge pull request  #110  from xaocon/master  
							
							... 
							
							
							
							small change to find highlighting directory better 
							
						 
						
							2013-12-24 03:39:37 -08:00  
				
					
						
							
							
								 
						
							
								04f9c8884f 
								
							 
						 
						
							
							
								
								highlight ^old^new pattern  
							
							... 
							
							
							
							by extending the already in place mechanism of checking for the first
histchar to check for the second as well 
							
						 
						
							2013-12-07 05:11:19 -05:00  
				
					
						
							
							
								 
						
							
								f289a9f8e7 
								
							 
						 
						
							
							
								
								Merge pull request  #125  from acatton/fix-121  
							
							... 
							
							
							
							Fix  #121 : sudo syntax highlighting incorrectly 
						
							2013-11-19 11:42:03 -08:00  
				
					
						
							
							
								 
						
							
								8ac964186d 
								
							 
						 
						
							
							
								
								Merge pull request  #131  from MarkLodato/array-assignments  
							
							... 
							
							
							
							Properly highlight array assignments 
							
						 
						
							2013-11-19 11:40:29 -08:00  
				
					
						
							
							
								 
						
							
								ffce2a0b20 
								
							 
						 
						
							
							
								
								Merge pull request  #133  from lucc/master  
							
							... 
							
							
							
							protect alias expansion from interpreting aliases as options 
							
						 
						
							2013-11-19 11:39:40 -08:00  
				
					
						
							
							
								 
						
							
								63a720af9b 
								
							 
						 
						
							
							
								
								Merge pull request  #128  from knu/patch-1  
							
							... 
							
							
							
							Do not leak a variable: cdpath_dir. 
							
						 
						
							2013-11-19 11:38:50 -08:00  
				
					
						
							
							
								 
						
							
								784a5dc35b 
								
							 
						 
						
							
							
								
								protect alias expansion from interpreting aliases as options  
							
							... 
							
							
							
							If one defines aliases like `++` the alias builtin tries to interprete these
as options so they have to be protected like this
    alias -- ++=true
The same goes for a call to `alias` in order to expand the alias again. 
							
						 
						
							2013-11-05 00:50:20 +01:00  
				
					
						
							
							
								 
						
							
								441f1a8aad 
								
							 
						 
						
							
							
								
								highlight array assignments of the form x[y]=...  
							
							... 
							
							
							
							This code is more lenient than bash.  Examples:
    $ x[y[]=
    zsh: no matches found: x[y[]=
    $ x[][]=
    zsh: no matches found: x[][]=
The proper solution is to look inside the [...] and make sure that all
unescaped/unquoted square brackes are matched, but that is a heck of
a lot more complicated than this simple 8-character patch. 
							
						 
						
							2013-10-30 00:53:46 -04:00  
				
					
						
							
							
								 
						
							
								c62cb54e9d 
								
							 
						 
						
							
							
								
								do not remove quotes when checking assignments  
							
							... 
							
							
							
							Zsh does not allow the variable name or the equals sign to be quoted or
escaped.  The previous code incorrectly highlighted the following
examples as assignments:
    $ 'x=y'
    zsh: command not found: x=y
    $ x\=y
    zsh: command not found: x=y
    $ "x"=y
    zsh: command not found: x=y
    $ \x=y
    zsh: command not found: x=y 
							
						 
						
							2013-10-30 00:00:16 -04:00  
				
					
						
							
							
								 
						
							
								0fc6b07509 
								
							 
						 
						
							
							
								
								Do not leak a variable: cdpath_dir.  
							
							... 
							
							
							
							Leaking a variable that holds a path in CDPATH could easily end up appearing on your prompt like `~cdpath_dir/subdir`. 
							
						 
						
							2013-10-21 21:18:38 +09:00  
				
					
						
							
							
								 
						
							
								dffbab0c92 
								
							 
						 
						
							
							
								
								a more simple and universal way (for zsh projects) to find highlight dir path  
							
							
							
						 
						
							2013-10-09 12:02:34 -04:00  
				
					
						
							
							
								 
						
							
								3b3a58be91 
								
							 
						 
						
							
							
								
								Fix   #121 : sudo syntax highlighting incorrectly  
							
							... 
							
							
							
							Parse sudo command line in order to highlight the options correctly 
							
						 
						
							2013-09-28 19:33:34 -06:00  
				
					
						
							
							
								 
						
							
								dbd27cb30a 
								
							 
						 
						
							
							
								
								#155 : document path_prefix/path_approx  
							
							
							
						 
						
							2013-08-09 09:56:28 +02:00  
				
					
						
							
							
								 
						
							
								08b80022ca 
								
							 
						 
						
							
							
								
								Merge pull request  #123  from Shura0/master  
							
							... 
							
							
							
							Highlighted dollar variable ver. 2 
							
						 
						
							2013-08-09 00:47:32 -07:00  
				
					
						
							
							
								 
						
							
								a7ee0597ef 
								
							 
						 
						
							
							
								
								Update main-highlighter.zsh  
							
							... 
							
							
							
							Comments added 
							
						 
						
							2013-08-09 10:24:14 +04:00  
				
					
						
							
							
								 
						
							
								3677b75731 
								
							 
						 
						
							
							
								
								Merge pull request  #115  from Valodim/master  
							
							... 
							
							
							
							add separate path_prefix and path_approx hilights 
							
						 
						
							2013-08-08 07:31:46 -07:00