Perf: fix several corner cases in command higlighting

This commit is contained in:
Roman Perepelitsa 2020-08-23 14:17:04 +02:00
commit 6a210f1408
9 changed files with 188 additions and 19 deletions

View file

@ -27,9 +27,9 @@
# vim: ft=zsh sw=2 ts=2 et
# -------------------------------------------------------------------------------------------------
hash zsh_syntax_highlighting_hash=/doesnotexist
hash zsh_syntax_highlighting_hash=/usr/bin/env
BUFFER='zsh_syntax_highlighting_hash'
expected_region_highlight=(
"1 28 hashed-command 'zsh/parameter cannot distinguish between hashed and command'"
"1 28 hashed-command"
)