Commit Graph
22 Commits
Author SHA1 Message Date
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
Andreas Gahr 024c1c46f7 next try. fix for issue #76 without brakeing fix for #21 2011-09-24 20:39:34 +08: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
Andreas Gahr f84f9319d8 supposed fix for issue #73 and issue #74 2011-09-09 16:07:49 +02: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
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
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
garinger d4acac9837 eliminate a variable and simplify 2011-07-08 12:43:59 -07:00
garinger ef74d2b611 Only match brackets of the same type 2011-07-08 12:25:09 -07:00
garinger 48c30a805a highlight opening bracket with "bracket-error" style, if the closing bracket is still missing 2011-07-08 07:52:32 -07:00
garinger 1858be26bd exclude .beep 2011-07-07 00:25:44 +08:00
garinger 3802e03b4c exclude .beep 2011-07-05 06:48:02 -07:00