Commit graph

700 commits

Author SHA1 Message Date
Julien Nicoulaud
3befdc552f The script should not be executable, it is meant to be sourced 2011-01-01 23:42:24 +01:00
Julien Nicoulaud
6db0692d5e Make sure the ZSH_HIGHLIGHT_STYLES array is exported 2011-01-01 22:17:56 +01:00
Julien Nicoulaud
f713934f6c Fix issue with substrings extraction 2011-01-01 19:17:02 +01:00
Julien Nicoulaud
f575527564 Fix code blocks indentation 2011-01-01 17:49:12 +01:00
Julien Nicoulaud
90e661bd69 Issue 17: Update README with "How to override the default styles"
Harmonize variable names
2011-01-01 17:34:35 +01:00
Julien Nicoulaud
e50d47ae1b Rename variable with obsolete/confusing name 2011-01-01 16:32:37 +01:00
Julien Nicoulaud
d4a9baa4ae Issue 15: History expansion is highlighted as unknown token (partial fix, only covers common cases) 2011-01-01 16:30:35 +01:00
Julien Nicoulaud
9f9e6c24c6 Issue 19: No duplicates in ZSH_HIGHLIGHT_TOKENS_FOLLOWED_BY_COMMANDS 2011-01-01 16:11:13 +01:00
Julien Nicoulaud
5958662772 Issue 14: Do not highlight globbing if noglob is present 2011-01-01 16:01:30 +01:00
Wayne Davison
a4e7eddae7 Avoid processing the same buffer multiple times. 2010-12-31 15:16:50 -08:00
Julien Nicoulaud
ce15291cfb Make default styles identic to Fish 2010-12-31 14:45:03 +01:00
Julien Nicoulaud
c19bef7714 Issue 12: Highlight isearch like fish
Bind highlighting to more history navigation ZLE events
2010-12-31 14:35:38 +01:00
Julien Nicoulaud
a56a085ca7 Fix tokens followed by commands and aliases bug (thanks to hchbaw) 2010-12-31 02:07:24 +01:00
Julien Nicoulaud
a2f022c70f Fix vim header 2010-12-30 23:06:24 +01:00
Julien Nicoulaud
887f06131e Replace tabs with spaces... 2010-12-30 20:06:46 +01:00
Wayne Davison
0e73dee10f Also need to affect delete-char-or-list. 2010-12-30 10:49:14 -08:00
Julien Nicoulaud
c6dcd93691 Remove fg=white from path style, confusing for white background terminals 2010-12-30 19:49:04 +01:00
Wayne Davison
19de6c9e92 Fix renamed function reference. 2010-12-30 10:36:51 -08:00
Wayne Davison
6a3bbe72da Fix some _hl_string issues:
- Avoid unset variable warning at $arg[0].
- Fix highlighting of "\$" and "\\".
- Tweak the code style a bit.
2010-12-30 10:29:50 -08:00
Wayne Davison
030cabee59 Avoid some variables bleeding into the user's env. 2010-12-30 10:23:26 -08:00
Wayne Davison
fe3ac1a25b Also affect the accept-line* and more zle *complete* functions. 2010-12-30 10:23:25 -08:00
Wayne Davison
75eba65836 A bit more code formatting. 2010-12-30 10:22:59 -08:00
Julien Nicoulaud
204e8f1b93 Issue 9: take into account aliases for tokens followed by commands 2010-12-30 19:18:17 +01:00
Julien Nicoulaud
97d944743a Some refactoring to avoid names collisions
Code cleaning
2010-12-30 18:53:42 +01:00
Julien Nicoulaud
91760946f3 Declare styles in an associative array to make it easily overridable 2010-12-30 18:35:28 +01:00
Julien Nicoulaud
00427081d1 Format code 2010-12-30 17:05:00 +01:00
Julien Nicoulaud
2cf6e4844b Merge branch 'master' of git://github.com/x-way/zsh-syntax-highlighting 2010-12-30 16:53:40 +01:00
Julien Nicoulaud
7c1690f5b0 Issue 7: Add instructions for using with oh-my-zsh 2010-12-30 16:35:55 +01:00
Julien Nicoulaud
e1c078c628 Issue 8: Trigger highlighting on magic-space (thanks to sunaku) 2010-12-30 16:20:43 +01:00
Julien Nicoulaud
9971f900a7 Issue 4: Force option bareglobqual 2010-12-30 16:13:48 +01:00
Andreas Jaggi
7dea99007a Merge branch 'master' of https://github.com/nicoulaj/zsh-syntax-highlighting 2010-12-27 12:59:10 +01:00
Andreas Jaggi
48b3897479 Highlight special chars in double-quoted strings 2010-12-27 12:57:05 +01:00
Wayne Davison
d35af74603 More ZLE_TOKENS_FOLLOWED_BY_COMMANDS entries. 2010-12-26 17:08:46 -08:00
Wayne Davison
be71887386 Fix highlighting of external commands & simplify matching. 2010-12-26 17:02:59 -08:00
Andreas Jaggi
9f88ab66ee Merge branch 'master' of https://github.com/nicoulaj/zsh-syntax-highlighting 2010-12-26 23:49:58 +01:00
Andreas Jaggi
08a4247955 Merge branch 'upstream' 2010-12-26 22:16:07 +01:00
Wayne Davison
ff908d1128 Removing '§' from ZLE_TOKENS_FOLLOWED_BY_COMMANDS. 2010-12-26 11:56:05 -08:00
Wayne Davison
57da7c9a28 Some changes from Bart's issue 6. 2010-12-25 23:51:46 -08:00
Wayne Davison
44fd26a0cc Fix potential errors for some setopt variations. 2010-12-25 20:42:00 -08:00
Andreas Jaggi
b253ce8050 Underline text at curor if matching path exists 2010-12-26 06:14:54 +08:00
Andreas Jaggi
899c83d0cd Underline text at curor if matching path exists 2010-12-25 22:38:07 +01:00
Andreas Jaggi
2bf1933f2d Merge branch 'master' of https://github.com/nicoulaj/zsh-syntax-highlighting 2010-12-25 22:36:47 +01:00
Julien Nicoulaud
aafa7eaedb Add "copy-pastable" installation instructions 2010-12-25 22:10:50 +01:00
Julien Nicoulaud
5ba105efdb Issue 2: Fix for those using option NO_UNSET (thanks to WayneD) 2010-12-25 22:03:27 +01:00
Andreas Jaggi
12ffa71c17 Underline existing paths 2010-12-26 03:57:20 +08:00
Andreas Jaggi
732faaa252 Personalize colors 2010-12-25 20:52:44 +01:00
Andreas Jaggi
2ff771eaa9 Underline existing paths 2010-12-25 20:51:55 +01:00
Julien Nicoulaud
e1ed5039a5 Add jedahan as contributor 2010-12-25 19:12:58 +01:00
Julien Nicoulaud
f4502a2f5c Add README 2010-12-25 18:47:12 +01:00
Julien Nicoulaud
89e3c632ef Add Zsh syntax highlighting script 2010-12-25 18:33:08 +01:00