mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Use the new, unreleased zsh 'memo=' feature to remove only our own entries from $region_highlight.
Fixes #418 (interoperability issue with other plugins).
This commit is contained in:
parent
075c852924
commit
810c2dcede
6 changed files with 97 additions and 9 deletions
|
|
@ -190,7 +190,7 @@ run_test_internal() {
|
|||
if
|
||||
[[ $start != $exp_start ]] ||
|
||||
[[ $end != $exp_end ]] ||
|
||||
[[ $highlight_zone[3] != $expected_highlight_zone[3] ]]
|
||||
[[ ${highlight_zone[3]%,} != ${expected_highlight_zone[3]} ]] # remove the comma that's before the memo field
|
||||
then
|
||||
print -r -- "not ok $i - $desc - expected ($exp_start $exp_end ${(qqq)expected_highlight_zone[3]}), observed ($start $end ${(qqq)highlight_zone[3]}). $todo"
|
||||
if [[ -z $todo ]]; then (( ++print_expected_and_actual )); fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue