NAKAMURA Yoshitaka
|
56b134f5d6
|
fix "_zsh_highlight_widget_XXX:zle: unknown option: X" error
|
2011-11-01 20:02:03 +09:00 |
|
Julien Nicoulaud
|
d2715e2cb3
|
Merge pull request #82 from garinger/feature
make highlighting work for first entry in history. fixes #79
|
2011-09-28 10:04:07 -07:00 |
|
Andreas Gahr
|
603fce64b5
|
autoload add-zsh-hook && provide a nicer error message if that fails due to old zsh version, or similar situations. Reset another variable in hook function; it can't hurt
|
2011-09-28 16:35:19 +02:00 |
|
Andreas Gahr
|
304ddb9400
|
make highlighting work for first entry in history. fixes #79
|
2011-09-27 16:08:23 +02:00 |
|
Julien Nicoulaud
|
f824e5e84d
|
Options should only be set locally
|
2011-09-24 14:42:55 +02:00 |
|
Andreas Gahr
|
024c1c46f7
|
next try. fix for issue #76 without brakeing fix for #21
|
2011-09-24 20:39:34 +08:00 |
|
Julien Nicoulaud
|
8d4cde6301
|
(Hopefully) fix #21 (tilde and hashed directories in paths)
|
2011-09-20 19:13:37 +02:00 |
|
Julien Nicoulaud
|
db8f98fc53
|
Set default style for pipes and stuff to none
|
2011-09-20 19:13:37 +02:00 |
|
Andreas Gahr
|
287167d453
|
fix for issue #76. This was more ore less forgotten in pull request #75
|
2011-09-20 19:13:37 +02:00 |
|
Andreas Gahr
|
670961ad01
|
handle highlighting for precommands; handle highlighting for commands separators
|
2011-09-20 19:13:37 +02:00 |
|
Julien Nicoulaud
|
cbfd4a8889
|
Merge pull request #75 from garinger/master
supposed fix for issue #73 and issue #74
|
2011-09-09 08:22:00 -07:00 |
|
Andreas Gahr
|
f84f9319d8
|
supposed fix for issue #73 and issue #74
|
2011-09-09 16:07:49 +02:00 |
|
Takeshi Banse
|
b0fee4e758
|
pass args down to each original zle call
Signed-off-by: Takeshi Banse <takebi@laafc.net>
|
2011-09-07 01:39:52 +08:00 |
|
Julien Nicoulaud
|
f786e9977c
|
Merge pull request #71 from hchbaw/for-nicoulaj/nounset
make _zsh_highlight nounset-able
|
2011-09-06 10:23:24 -07:00 |
|
Julien Nicoulaud
|
a6d105131c
|
Fix #21: No highlighting when using tilde
|
2011-09-06 19:21:40 +02:00 |
|
Julien Nicoulaud
|
d8fe211aed
|
Ignore zwc files
|
2011-09-06 19:15:09 +02:00 |
|
Takeshi Banse
|
1d729202ec
|
add tests for handling tildes
Signed-off-by: Takeshi Banse <takebi@laafc.net>
|
2011-09-07 01:14:45 +08:00 |
|
Takeshi Banse
|
48a18291f9
|
add some tests
Signed-off-by: Takeshi Banse <takebi@laafc.net>
|
2011-09-07 01:14:45 +08:00 |
|
Takeshi Banse
|
4a8b184632
|
pass ${arg} explicit
Signed-off-by: Takeshi Banse <takebi@laafc.net>
|
2011-09-07 01:14:45 +08:00 |
|
Takeshi Banse
|
9706996d3b
|
make _zsh_highlight nounset-able
Signed-off-by: Takeshi Banse <takebi@laafc.net>
|
2011-08-24 14:18:23 +09:00 |
|
Julien Nicoulaud
|
26f30697ea
|
Merge pull request #69 from garinger/master
Minor fixes
|
2011-08-08 10:54:23 -07:00 |
|
Andreas Gahr
|
b1b65dc486
|
bracket highlighter: small typo in testcase - document new style
|
2011-08-08 17:01:51 +02:00 |
|
Andreas Gahr
|
06ad03e32c
|
bracket highlighter: simplify
|
2011-08-08 16:01:53 +02:00 |
|
Andreas Gahr
|
8375ef6e72
|
bracket highlighter: make the style configurable, when cursor is on bracket
|
2011-08-08 15:55:47 +02:00 |
|
Andreas Gahr
|
24243becba
|
bracket highlighter: fix typo from last commit
|
2011-08-08 15:51:40 +02:00 |
|
Andreas Gahr
|
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 |
|
Julien Nicoulaud
|
4e0749dd83
|
Merge pull request #68 from garinger/master
test data for bracket highlighter
|
2011-08-05 08:16:50 -07:00 |
|
Andreas Gahr
|
0d55207c78
|
simple testcases for bracket highlighter - actually add files
|
2011-08-05 16:38:46 +02:00 |
|
Andreas Gahr
|
33813c6a52
|
simple testcases for bracket highlighter
|
2011-08-05 16:25:47 +02:00 |
|
Julien Nicoulaud
|
3c82e872ad
|
Merge pull request #66 from simonair/master
Add ` || true ' to last line of init script to guarantee zero exit code when sourcing multiple times
|
2011-08-03 05:42:50 -07:00 |
|
Simon Heimlicher
|
854038010f
|
Added || true to ensure zero exit code
|
2011-08-03 09:40:19 +00:00 |
|
Julien Nicoulaud
|
186d80054a
|
Fix #65, sourcing the script multiples times should not cause issues anymore
|
2011-08-02 20:25:49 +02:00 |
|
Valodim
|
f27ef7a279
|
after exec token we can expect a command
|
2011-08-02 00:55:55 +08:00 |
|
Julien Nicoulaud
|
0e331cd654
|
Isolate setup code in functions to ease messing with zsh-syntax-highlighting
|
2011-07-31 17:59:55 +02:00 |
|
Julien Nicoulaud
|
5003fa7c9b
|
We don't need this hook as we have already bound every widget we could find (stop me if I'm wrong)
|
2011-07-31 17:14:56 +02:00 |
|
Julien Nicoulaud
|
08dae96eb1
|
Add highlighter triggered when the user is root
|
2011-07-27 00:37:33 +02:00 |
|
Julien Nicoulaud
|
11de634b33
|
Add cursor highlighter
|
2011-07-27 00:13:41 +02:00 |
|
Julien Nicoulaud
|
4ff08dcfa6
|
Fix #53: Prefix all defined functions with _zsh_highlight
|
2011-07-26 23:16:52 +02:00 |
|
Julien Nicoulaud
|
776453cb5b
|
Fix #46: Conflict with url-quote-magic
|
2011-07-26 22:50:53 +02:00 |
|
Julien Nicoulaud
|
3b27ad778d
|
More efficient way to strip leading dot
|
2011-07-25 22:30:06 +02:00 |
|
Julien Nicoulaud
|
9617f6e61b
|
Remove contributors list (too annoying to maintain), people can use Commits > Contributors (https://github.com/zsh-users/zsh-syntax-highlighting/contributors) to access the same list
|
2011-07-25 22:08:29 +02:00 |
|
Julien Nicoulaud
|
8b7a6bd24d
|
Add @garinger to the list of contributors
|
2011-07-25 22:06:24 +02:00 |
|
Julien Nicoulaud
|
d5cceb2c34
|
Merge pull request #64 from Valodim/master
don't highlight anymore for long lines
|
2011-07-25 12:52:47 -07:00 |
|
Valodim
|
5f68accccf
|
Don't highlight if buffer is longer than $ZSH_HIGHLIGHT_MAXLENGTH
|
2011-07-25 14:51:43 +02:00 |
|
Julien Nicoulaud
|
8ebce17a11
|
Merge pull request #63 from garinger/master
Fix for Issue #36 "Brackets of different types matched"
|
2011-07-21 03:45:51 -07:00 |
|
Julien Nicoulaud
|
a18e43d059
|
Fix README links
|
2011-07-21 12:45:21 +02:00 |
|
garinger
|
e7ab165310
|
* optimize discrimination of bracket-type
* use a nicer variable name
|
2011-07-13 12:47:27 -07:00 |
|
garinger
|
f1eb5aeef7
|
skip all brackets inside quotes (" and ')
|
2011-07-12 08:11:21 -07:00 |
|
garinger
|
2fe9505647
|
simplify check for bracket under cursor
|
2011-07-12 08:07:08 -07:00 |
|
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
|
2011-07-12 07:56:12 -07:00 |
|