Commit Graph

711 Commits

Author SHA1 Message Date
Mounier Florian
701cc303fe Highlighting bracket pair, when one is under the cursor (Issue 24) 2011-01-05 17:08:34 +01:00
Mounier Florian
f78e444451 Fix highlighting on new line with same buffer 2011-01-05 14:27:22 +01:00
Mounier Florian
a765f76656 Remove the huge zle functions array and replace it with zle -la output 2011-01-05 14:10:57 +01:00
Mounier Florian
2ca730ed17 Merge branch 'master' of gh:nicoulaj/zsh-syntax-highlighting 2011-01-05 13:50:19 +01:00
Mounier Florian
1da1aeb6f8 Simple rainbow style bracket matching 2011-01-05 13:48:23 +01:00
Julien Nicoulaud
a640bb8b96 Fix for aliases (from zsh-users)
http://www.zsh.org/mla/users/2011/msg00005.html
2011-01-05 11:28:24 +01:00
Mounier Florian
77ff47dc27 Add zsh version requirement 2011-01-05 10:56:12 +01:00
Mounier Florian
5afa8fcb32 Add all zle hookable functions 2011-01-05 10:54:25 +01:00
Julien Nicoulaud
0c138706a7 'where' and 'whereis' are both followed by commands 2011-01-02 18:19:56 +01:00
Julien Nicoulaud
f4a5493d12 'whence' and 'which' are both followed by commands 2011-01-02 18:19:25 +01:00
Julien Nicoulaud
94ecf1b111 'nocorrect' is followed by a command 2011-01-02 00:09:05 +01:00
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