This website requires JavaScript.
e7ab165310
* optimize discrimination of bracket-type * use a nicer variable name
garinger
2011-07-13 12:47:27 -0700
f1eb5aeef7
skip all brackets inside quotes (" and ')
garinger
2011-07-12 08:11:21 -0700
2fe9505647
simplify check for bracket under cursor
garinger
2011-07-12 08:07:08 -0700
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 -0700
d4acac9837
eliminate a variable and simplify
garinger
2011-07-08 12:43:59 -0700
ef74d2b611
Only match brackets of the same type
garinger
2011-07-08 12:25:09 -0700
eb749f2681
Merge pull request #62 from garinger/master
Julien Nicoulaud
2011-07-08 08:30:04 -0700
ac054bb31e
Merge 48c30a805a into 1858be26bd
GitHub Merge Button
2011-07-08 08:26:04 -0700
48c30a805a
highlight opening bracket with "bracket-error" style, if the closing bracket is still missing
garinger
2011-07-08 07:52:32 -0700
1858be26bd
exclude .beep
garinger
2011-07-05 21:48:02 +0800
3802e03b4c
exclude .beep
garinger
2011-07-05 06:48:02 -0700
9e75ca0e76
Add @tednaleid to the list of contributors
Julien Nicoulaud
2011-06-30 20:11:38 +0200
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 +0200
df2fe2a97d
Merge pull request #61 from tednaleid/master
Julien Nicoulaud
2011-06-30 11:05:48 -0700
904c5902a5
Merge 4ed9f9a68f into e04f6ab862
GitHub Merge Button
2011-06-29 23:37:30 -0700
4ed9f9a68f
fix for issue #60 , unrecognized modifier 'A' on startup
Ted Naleid
2011-06-29 21:32:58 -0500
e04f6ab862
Safety checks before looking up cursor position
Julien Nicoulaud
2011-06-17 12:36:07 +0200
f6af27b8a6
More reliable way to hook precmd
Julien Nicoulaud
2011-06-17 12:35:26 +0200
52bdb56fdb
Merge pull request #57 from guidovansteen/patch-1
Julien Nicoulaud
2011-06-17 02:27:49 -0700
944a56e454
Merge bf15d2085d into bf4fe1f228
GitHub Merge Button
2011-06-17 00:03:20 -0700
bf15d2085d
Prevent preexec() from being overridden by "_zhs_highlight". Note the spelling of "zhs"
Guido
2011-06-16 23:57:39 -0700
7f5caec483
Merge 71804f0042 into bf4fe1f228
GitHub Merge Button
2011-06-16 23:52:58 -0700
71804f0042
Prevent precmd, preexec and zle-line-init from being overridden here
Guido
2011-06-16 23:50:35 -0700
d4bc2ff9b2
Merge 71e797a8b5 into bf4fe1f228
GitHub Merge Button
2011-06-16 14:02:57 -0700
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 -0700
bf4fe1f228
Another README link fix
Julien Nicoulaud
2011-06-16 14:56:55 +0200
1435868740
Another README link fix
Julien Nicoulaud
2011-06-16 14:54:47 +0200
e7d7ccfe35
Group if statements in f26310d97e
Julien Nicoulaud
2011-06-16 14:54:24 +0200
f26310d97e
* enable command lines starting with a hyphen.
Guido
2011-06-16 04:28:59 -0700
56801a6b42
* added a workaround to start highlighting immediately after the creation of a new command line.
Guido
2011-06-16 04:26:51 -0700
ef4f5ed638
Fix READMEs
Julien Nicoulaud
2011-06-12 23:16:41 +0200
bb7fcb79fa
Fix #56 : tolerance to WARN_GLOBAL option
Julien Nicoulaud
2011-06-12 23:09:59 +0200
55e6a85fbb
Merge branch 'master' of github.com:nicoulaj/zsh-syntax-highlighting
Julien Nicoulaud
2011-06-12 23:04:33 +0200
0772ddd346
Big refactoring.
Julien Nicoulaud
2011-06-12 22:57:14 +0200
eb47af2985
Merged 41e84a0d9f into 0999ab05ba
GitHub Merge Button
2011-04-25 09:07:43 -0700
41e84a0d9f
Removed unnecessary 'zsh-' prefix.
Sorin Ionescu
2011-04-23 14:16:32 -0400
0999ab05ba
do nothing if PENDING inputs are exist
NAKAMURA Yoshitaka
2011-03-12 16:10:04 +0900
19f16752bb
Issue 49: Don't use readlink, options differ between systems
Julien Nicoulaud
2011-03-02 00:34:12 +0100
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 +0100
2f0fb81af4
More efficient way to look for elements in arrays
Julien Nicoulaud
2011-02-17 22:27:31 +0100
3abf463753
More code style fixes
Julien Nicoulaud
2011-02-17 21:02:23 +0100
2670c93e05
Make sure functions names match _zsh_highlight_*
Julien Nicoulaud
2011-02-17 20:58:22 +0100
dd84bff854
Code style
Julien Nicoulaud
2011-02-17 19:51:07 +0100
6879d3c29f
Issue 47: Removing styling of 'isearch' and 'special', as it has no effect
Julien Nicoulaud
2011-02-17 19:31:07 +0100
e1479022a0
Merge branch 'hchbaw-for-nicoulaj'
Julien Nicoulaud
2011-02-17 19:20:32 +0100
69e7442e4d
Add nakamuray to the list of contributors
Julien Nicoulaud
2011-02-16 22:42:18 +0100
fdc113996e
Merge branch 'highlight-assignment' of https://github.com/nakamuray/zsh-syntax-highlighting into nakamuray-highlight-assignment
Julien Nicoulaud
2011-02-16 22:39:45 +0100
390ab0fc32
Highlight variable assignment
NAKAMURA Yoshitaka
2011-02-14 19:23:23 +0900
d66b15aeb0
Fix contributor URL
Julien Nicoulaud
2011-02-13 09:57:36 +0100
93c9e6a753
Split off contributors list to a separate file Markdown for everyone
Julien Nicoulaud
2011-02-01 21:07:00 +0100
ca79a5f65a
Fix fish shell URL
Julien Nicoulaud
2011-02-01 21:02:45 +0100
78ff61eddc
Fix typo
Julien Nicoulaud
2011-02-01 21:01:37 +0100
bb5f41ef6d
Add contrib/keyword.zsh
Takeshi Banse
2011-01-16 20:33:24 +0900
0948c3d676
Introduce _zsh_add-highlighter.
Takeshi Banse
2011-01-16 13:54:59 +0900
6663c5647d
Make bracket match a function.
Takeshi Banse
2011-01-16 14:12:33 +0900
07588d2165
Make core syntax highlighting a function.
Takeshi Banse
2011-01-16 13:58:31 +0900
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 +0100
e162de6f51
Add BSD license (http://www.zsh.org/mla/users//2011/msg00030.html )
Julien Nicoulaud
2011-01-10 10:11:35 +0100
0392fdc46a
Issue 34: Do not highlight non commands as commands.
Julien Nicoulaud
2011-01-08 18:03:52 +0100
50b612cec4
Merge branch 'celtic-master'
Julien Nicoulaud
2011-01-08 13:09:56 +0100
678245bd63
Add stillmaintained badge
Julien Nicoulaud
2011-01-08 13:08:02 +0100
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 +1100
d2f641ca50
Carefully rebind the $clean_event.
Takeshi Banse
2011-01-07 21:49:19 +0900
2fd0845b77
Recreate the completion widget with its own function.
Takeshi Banse
2011-01-07 21:43:09 +0900
802583ea94
Make this clause function and call it afterward.
Takeshi Banse
2011-01-07 21:35:43 +0900
f962bdf1e7
Fix regression
Julien Nicoulaud
2011-01-06 23:28:41 +0100
0b0b09de64
Fix absolute path in symlink
Julien Nicoulaud
2011-01-06 23:26:24 +0100
9d63573e4e
Issue 30: Add a test script to watch performance
Julien Nicoulaud
2011-01-06 23:23:29 +0100
83372a5cee
Issue 38: Conflict with command-not-found
Julien Nicoulaud
2011-01-06 22:25:16 +0100
4d0e833079
Merge branch 'master' of github.com:nicoulaj/zsh-syntax-highlighting
Julien Nicoulaud
2011-01-06 14:59:59 +0100
fc5caa4e2d
Fix error when sourcing twice the script
Julien Nicoulaud
2011-01-06 14:57:51 +0100
43e31cdc58
Fix error when source twice the script
Julien Nicoulaud
2011-01-06 14:57:51 +0100
7e963c6c7e
Fix issue 31
Mounier Florian
2011-01-06 09:16:15 +0100
262755f1e7
Fix link in README
Julien Nicoulaud
2011-01-05 23:46:08 -0800
0a50e2a830
Issue 32: 'xargs' and 'zargs' are followed by commands (thanks to claytron)
Julien Nicoulaud
2011-01-06 08:41:52 +0100
ca4d7fbd06
Emphasize installations instructions ;)
Julien Nicoulaud
2011-01-05 23:11:24 +0100
a9da4e6c76
Harmonize exported variables names
Julien Nicoulaud
2011-01-05 23:07:56 +0100
8188920d00
Update README
Julien Nicoulaud
2011-01-05 23:07:22 +0100
60842aa75b
Define a style for hashed commands
Julien Nicoulaud
2011-01-05 22:51:00 +0100
a7746077bf
Added hashed commands highlighting to zsh-syntax-highlighting oh-my-zsh plugin.
Sorin Ionescu
2011-01-06 03:07:43 +0800
06d67990d9
Added oh-my-zsh zsh-syntax-highlighting plugin.
Sorin Ionescu
2011-01-06 03:06:25 +0800
b45891cdf4
Fix variable scope and make variable names even more obvious
Julien Nicoulaud
2011-01-05 22:16:17 +0100
0e55450a0b
Issue 26: The script unplugs user defined events
Julien Nicoulaud
2011-01-05 22:11:00 +0100
5b20238ae5
Added hashed commands highlighting to zsh-syntax-highlighting oh-my-zsh plugin.
Sorin Ionescu
2011-01-05 14:07:43 -0500
c419c14121
Added oh-my-zsh zsh-syntax-highlighting plugin.
Sorin Ionescu
2011-01-05 14:06:25 -0500
701cc303fe
Highlighting bracket pair, when one is under the cursor (Issue 24)
Mounier Florian
2011-01-05 17:08:34 +0100
f78e444451
Fix highlighting on new line with same buffer
Mounier Florian
2011-01-05 14:27:22 +0100
a765f76656
Remove the huge zle functions array and replace it with zle -la output
Mounier Florian
2011-01-05 14:10:57 +0100
2ca730ed17
Merge branch 'master' of gh:nicoulaj/zsh-syntax-highlighting
Mounier Florian
2011-01-05 13:50:19 +0100
1da1aeb6f8
Simple rainbow style bracket matching
Mounier Florian
2011-01-05 13:48:23 +0100
a640bb8b96
Fix for aliases (from zsh-users) http://www.zsh.org/mla/users/2011/msg00005.html
Julien Nicoulaud
2011-01-05 11:28:24 +0100
77ff47dc27
Add zsh version requirement
Mounier Florian
2011-01-05 10:56:12 +0100
5afa8fcb32
Add all zle hookable functions
Mounier Florian
2011-01-05 10:54:25 +0100
0c138706a7
'where' and 'whereis' are both followed by commands
Julien Nicoulaud
2011-01-02 18:19:56 +0100
f4a5493d12
'whence' and 'which' are both followed by commands
Julien Nicoulaud
2011-01-02 18:19:25 +0100
94ecf1b111
'nocorrect' is followed by a command
Julien Nicoulaud
2011-01-02 00:09:05 +0100
3befdc552f
The script should not be executable, it is meant to be sourced
Julien Nicoulaud
2011-01-01 23:42:24 +0100
6db0692d5e
Make sure the ZSH_HIGHLIGHT_STYLES array is exported
Julien Nicoulaud
2011-01-01 22:17:56 +0100
f713934f6c
Fix issue with substrings extraction
Julien Nicoulaud
2011-01-01 19:17:02 +0100
f575527564
Fix code blocks indentation
Julien Nicoulaud
2011-01-01 17:49:12 +0100