f1eb5aeef7
skip all brackets inside quotes (" and ')
garinger
2011-07-12 08:11:21 -07:00
2fe9505647
simplify 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
d4acac9837
eliminate a variable and simplify
garinger
2011-07-08 12:43:59 -07:00
ef74d2b611
Only match brackets of the same type
garinger
2011-07-08 12:25:09 -07:00
9e75ca0e76
Add @tednaleid to the list of contributors
Julien Nicoulaud
2011-06-30 20:11:38 +02:00
28720c77aa
Some fixes consecutive to pull request #61 merge * Allow to override highlighters directory through ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR * Handle spaces in the directory path * Use Zsh builtin "h" modifier instead of dirname
Julien Nicoulaud
2011-06-30 20:08:43 +02:00
71e797a8b5
Much 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
bf4fe1f228
Another README link fix
Julien Nicoulaud
2011-06-16 14:56:55 +02:00
1435868740
Another README link fix
Julien Nicoulaud
2011-06-16 14:54:47 +02:00
e7d7ccfe35
Group 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
0772ddd346
Big refactoring.
Julien Nicoulaud
2011-06-12 22:57:14 +02:00
0999ab05ba
do nothing if PENDING inputs are exist
NAKAMURA Yoshitaka
2011-03-12 16:10:04 +09:00
19f16752bb
Issue 49: Don't use readlink, options differ between systems
Julien Nicoulaud
2011-03-02 00:34:12 +01:00
bc788f3f19
Start 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
2f0fb81af4
More efficient way to look for elements in arrays
Julien Nicoulaud
2011-02-17 22:27:31 +01:00
3abf463753
More code style fixes
Julien Nicoulaud
2011-02-17 21:02:23 +01:00
2670c93e05
Make sure functions names match _zsh_highlight_*
Julien Nicoulaud
2011-02-17 20:58:22 +01:00
6663c5647d
Make bracket match a function.
Takeshi Banse
2011-01-16 14:12:33 +09:00
07588d2165
Make core syntax highlighting a function.
Takeshi Banse
2011-01-16 13:58:31 +09:00
ea792cbf87
Add 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
a40d777860
Use ${(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
d2f641ca50
Carefully rebind the $clean_event.
Takeshi Banse
2011-01-07 21:49:19 +09:00
2fd0845b77
Recreate the completion widget with its own function.
Takeshi Banse
2011-01-07 21:43:09 +09:00
802583ea94
Make this clause function and call it afterward.
Takeshi Banse
2011-01-07 21:35:43 +09:00
90e661bd69
Issue 17: Update README with "How to override the default styles" Harmonize variable names
Julien Nicoulaud
2011-01-01 17:34:35 +01:00
e50d47ae1b
Rename variable with obsolete/confusing name
Julien Nicoulaud
2011-01-01 16:32:37 +01:00
d4a9baa4ae
Issue 15: History expansion is highlighted as unknown token (partial fix, only covers common cases)
Julien Nicoulaud
2011-01-01 16:30:35 +01:00
9f9e6c24c6
Issue 19: No duplicates in ZSH_HIGHLIGHT_TOKENS_FOLLOWED_BY_COMMANDS
Julien Nicoulaud
2011-01-01 16:11:13 +01:00
5958662772
Issue 14: Do not highlight globbing if noglob is present
Julien Nicoulaud
2011-01-01 16:01:30 +01:00
a4e7eddae7
Avoid processing the same buffer multiple times.
Wayne Davison
2010-12-31 15:16:34 -08:00
ce15291cfb
Make default styles identic to Fish
Julien Nicoulaud
2010-12-31 14:45:03 +01:00
c19bef7714
Issue 12: Highlight isearch like fish Bind highlighting to more history navigation ZLE events
Julien Nicoulaud
2010-12-31 14:35:38 +01:00
a56a085ca7
Fix tokens followed by commands and aliases bug (thanks to hchbaw)
Julien Nicoulaud
2010-12-31 02:07:24 +01:00
a2f022c70f
Fix vim header
Julien Nicoulaud
2010-12-30 23:06:24 +01:00
887f06131e
Replace tabs with spaces...
Julien Nicoulaud
2010-12-30 20:06:46 +01:00
0e73dee10f
Also need to affect delete-char-or-list.
Wayne Davison
2010-12-30 10:48:52 -08:00