mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
dev tools: Tolerate invalid input.
This commit is contained in:
parent
a4196eda5e
commit
987c133486
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ if (( $# != 3 )) || [[ $1 == -* ]]; then
|
||||||
fi
|
fi
|
||||||
buffer=$1
|
buffer=$1
|
||||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=( $2 )
|
ZSH_HIGHLIGHT_HIGHLIGHTERS=( $2 )
|
||||||
fname=${0:A:h:h}/highlighters/$2/test-data/$3.zsh
|
fname=${0:A:h:h}/highlighters/$2/test-data/${3%.zsh}.zsh
|
||||||
exec 3>&1
|
exec 3>&1
|
||||||
exec >$fname
|
exec >$fname
|
||||||
git add -N $fname
|
git add -N $fname
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue