mirror of
https://github.com/zsh-users/zsh-syntax-highlighting
synced 2024-12-14 15:34:37 +00:00
136 lines
2.1 KiB
Markdown
136 lines
2.1 KiB
Markdown
up to 98aee7f8b9a34c639352034087ac31193256b898
|
|
|
|
|
|
|
|
|
|
# Changes in version 0.3.1
|
|
|
|
## Removed features:
|
|
|
|
- Removed highlighting of approximate paths (`path_approx`).
|
|
(#187, 98aee7f8b9a3)
|
|
|
|
|
|
## Other changes:
|
|
|
|
- Fix initialization when sourcing `zsh-syntax-highlighting.zsh` via a symlink
|
|
(083c47b00707)
|
|
|
|
- docs: Add screenshot.
|
|
(57624bb9f64b)
|
|
|
|
|
|
## Developer-visible changes:
|
|
|
|
- Run each test in a separate subprocess, isolating them from each other
|
|
(d99aa58aaaef, et seq)
|
|
|
|
- Fix test failure with nonexisting $HOME
|
|
(#216, b2ac98b98150)
|
|
|
|
- Document `make install`
|
|
(a18a7427fd2c)
|
|
|
|
- tests: Allow specifying the zsh binary to use.
|
|
(557bb7e0c6a0)
|
|
|
|
|
|
|
|
|
|
# Changes in version 0.3.0
|
|
|
|
|
|
## Added highlighting of:
|
|
|
|
- suffix aliases (requires zsh 5.1.1 or newer):
|
|
|
|
alias -s png=display
|
|
foo.png
|
|
|
|
- prefix redirections:
|
|
|
|
<foo.txt cat
|
|
|
|
- redirection operators:
|
|
|
|
echo > foo.txt
|
|
|
|
- arithmetic evaluations:
|
|
|
|
(( 42 ))
|
|
|
|
- $'' strings, including \x/\octal/\u/\U escapes
|
|
|
|
: $'foo\u0040bar'
|
|
|
|
- multiline strings:
|
|
|
|
% echo "line 1
|
|
line 2"
|
|
|
|
- string literals that haven't been finished:
|
|
|
|
% echo "Hello, world
|
|
|
|
- command words that involve tilde expansion:
|
|
|
|
% ~/bin/foo
|
|
|
|
|
|
## Fixed highlighting of:
|
|
|
|
- quoted command words:
|
|
|
|
% \ls
|
|
|
|
- backslash escapes in "" strings:
|
|
|
|
% echo "\x41"
|
|
|
|
- noglob after command separator:
|
|
|
|
% :; noglob echo *
|
|
|
|
- glob after command separator, when the first command starts with 'noglob':
|
|
|
|
% noglob true; echo *
|
|
|
|
- the region (vi visual mode / set-mark-command) (issue #165)
|
|
|
|
- redirection and command separators that would be highlighted as `path_approx`
|
|
|
|
% echo foo;‸
|
|
% echo <‸
|
|
|
|
(where `‸` represents the cursor location)
|
|
|
|
- escaped globbing (outside quotes)
|
|
|
|
% echo \*
|
|
|
|
|
|
## Other changes:
|
|
|
|
- implemented compatibility with zsh's paste highlighting (issue #175)
|
|
|
|
- `$?` propagated correctly to wrapped widgets
|
|
|
|
- don't leak $REPLY into global scope
|
|
|
|
|
|
## Developer-visible changes:
|
|
|
|
- added makefile with `install` and `test` targets
|
|
|
|
- set `warn_create_global` internally
|
|
|
|
- document release process
|
|
|
|
|
|
|
|
|
|
# Version 0.2.1
|
|
|
|
(Start of changelog.)
|
|
|