854038010fAdded || true to ensure zero exit code
Simon Heimlicher
2011-08-03 09:40:19 +00:00
186d80054aFix#65, sourcing the script multiples times should not cause issues anymore
Julien Nicoulaud
2011-08-02 20:25:00 +02:00
f27ef7a279after exec token we can expect a command
Valodim
2011-07-25 18:54:15 +08:00
0e331cd654Isolate setup code in functions to ease messing with zsh-syntax-highlighting
Julien Nicoulaud
2011-07-31 17:59:55 +02:00
5003fa7c9bWe don't need this hook as we have already bound every widget we could find (stop me if I'm wrong)
Julien Nicoulaud
2011-07-31 17:14:50 +02:00
08dae96eb1Add highlighter triggered when the user is root
Julien Nicoulaud
2011-07-27 00:37:33 +02:00
e7ab165310* optimize discrimination of bracket-type * use a nicer variable name
garinger
2011-07-13 12:47:27 -07:00
f1eb5aeef7skip all brackets inside quotes (" and ')
garinger
2011-07-12 08:11:21 -07:00
2fe9505647simplify check for bracket under cursor
garinger
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
garinger
2011-07-12 07:56:12 -07:00
d4acac9837eliminate a variable and simplify
garinger
2011-07-08 12:43:59 -07:00
ef74d2b611Only match brackets of the same type
garinger
2011-07-08 12:25:09 -07:00
71e797a8b5Much easier and less error prone way to start highlighting immediately after the creation of a new command line.
Guido
2011-06-16 13:57:34 -07:00
bf4fe1f228Another README link fix
Julien Nicoulaud
2011-06-16 14:56:55 +02:00
1435868740Another README link fix
Julien Nicoulaud
2011-06-16 14:54:47 +02:00
e7d7ccfe35Group if statements in f26310d97e
Julien Nicoulaud
2011-06-16 14:54:24 +02:00
f26310d97e* enable command lines starting with a hyphen.
Guido
2011-06-16 04:28:59 -07:00
56801a6b42* added a workaround to start highlighting immediately after the creation of a new command line.
Guido
2011-06-16 04:26:51 -07:00
0999ab05bado nothing if PENDING inputs are exist
NAKAMURA Yoshitaka
2011-03-12 16:10:04 +09:00
19f16752bbIssue 49: Don't use readlink, options differ between systems
Julien Nicoulaud
2011-03-02 00:34:12 +01:00
bc788f3f19Start splitting highlighters to separate files. The script still works on its own, highlighters in highlighters/ are loaded as addons if present.
Julien Nicoulaud
2011-02-17 23:39:04 +01:00
2f0fb81af4More efficient way to look for elements in arrays
Julien Nicoulaud
2011-02-17 22:27:31 +01:00
ea792cbf87Add a mechanism for testing the correctness of the highlighting. Feel free to add more test data !
Julien Nicoulaud
2011-01-10 23:46:27 +01:00
a40d777860Use ${(Q)arg} to expand a level of quotes, such that files/directories with spaces in their name (escaped with backslash) are noticed correctly.
Arlen Cuss
2011-01-08 15:51:26 +11:00
d2f641ca50Carefully rebind the $clean_event.
Takeshi Banse
2011-01-07 21:49:19 +09:00
2fd0845b77Recreate the completion widget with its own function.
Takeshi Banse
2011-01-07 21:43:09 +09:00
802583ea94Make this clause function and call it afterward.
Takeshi Banse
2011-01-07 21:35:43 +09:00