Fix typos in the source code (#3048)

pull/3059/head
Zhizhen He 2 years ago committed by GitHub
parent 06b02ba46e
commit 2a54e3d770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -180,8 +180,8 @@ trap 'cleanup' EXIT
envs="export TERM=$TERM " envs="export TERM=$TERM "
if [[ "$opt" =~ "-E" ]]; then if [[ "$opt" =~ "-E" ]]; then
FZF_DEFAULT_OPTS="--margin 0,1 $FZF_DEFAULT_OPTS" FZF_DEFAULT_OPTS="--margin 0,1 $FZF_DEFAULT_OPTS"
tmux_verson=$(tmux -V) tmux_version=$(tmux -V)
if [[ ! $tmux_verson =~ 3\.2 ]]; then if [[ ! $tmux_version =~ 3\.2 ]]; then
FZF_DEFAULT_OPTS="--border $FZF_DEFAULT_OPTS" FZF_DEFAULT_OPTS="--border $FZF_DEFAULT_OPTS"
opt="-B $opt" opt="-B $opt"
fi fi

@ -30,7 +30,7 @@ strings. Acts as input validation for parsePlaceholder function.
Describes the syntax, but it is fairly lenient. Describes the syntax, but it is fairly lenient.
The following pseudo regex has been reverse engineered from the The following pseudo regex has been reverse engineered from the
implementation. It is overly strict, but better describes whats possible. implementation. It is overly strict, but better describes what's possible.
As such it is not useful for validation, but rather to generate test As such it is not useful for validation, but rather to generate test
cases for example. cases for example.

Loading…
Cancel
Save