Skip to content

Commit aaa7e77

Browse files
committed
README: Fix FAQ entry about isearch highlighting
Fixes zsh-users#423
1 parent 39a6c47 commit aaa7e77

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

README.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,19 @@ syntax highlighting.
4646

4747
### Does syntax highlighting work during incremental history search?
4848

49-
Yes!
49+
Highlighting the command line during an incremental history search (by default bound to
50+
to <kbd>Ctrl+R</kbd> in zsh's emacs keymap) requires zsh 5.4 or newer.
5051

51-
If you're using `history-incremental-search-backward` (by default bound to <kbd>Ctrl+R</kbd>
52-
in zsh's emacs keymap) then it works with _zsh version 5.3 and newer_.
53-
54-
If you're using `history-incremental-pattern-search-backward`, then syntax highlighting works
55-
in _zsh 5.3.2 and newer_ due to [a bug in zsh](http://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=40285).
56-
57-
Under zsh 5.2 and older, the zsh-default [underlining][zshzle-Character-Highlighting]
52+
Under version older than 5.4, the zsh-default [underlining][zshzle-Character-Highlighting]
5853
of the matched portion of the buffer remains available, but zsh-syntax-highlighting's
5954
additional highlighting is unavailable. (Those versions of zsh do not provide
6055
enough information to allow computing the highlighting correctly.)
6156

62-
See [issue #288][i288] for details.
57+
See issues [#288][i288] and [#415][i415] for details.
6358

6459
[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting
6560
[i288]: https://github.com/zsh-users/zsh-syntax-highlighting/pull/288
61+
[i415]: https://github.com/zsh-users/zsh-syntax-highlighting/pull/415
6662

6763
### How are new releases announced?
6864

0 commit comments

Comments
 (0)