Skip to content
Myr

Fix lint errors

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 0c6ead6 · Browse files · 5 files+9 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+9 added−9 removed

  • tests:+1 added−1 removed
  • other:+8 added−8 removed

5 files+9 added−9 removed

modified:shell/common.sh+2 added-2 removed
modified:shell/completion.zsh+2 added-2 removed
100 unmodified lines
101# To modify it, one can edit "common.sh" and run "./update.sh" to apply102# the changes. See code comments in "common.sh" for the implementation details.103104__fzf_defaults() {105 printf '%s\n' "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"105 builtin printf '%s\n' "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"106 command cat "${FZF_DEFAULT_OPTS_FILE-}" 2> /dev/null107 printf '%s\n' "${FZF_DEFAULT_OPTS-} $2"107 builtin printf '%s\n' "${FZF_DEFAULT_OPTS-} $2"108}109110__fzf_exec_awk() {111 if [[ -z ${__fzf_awk-} ]]; then
367 unmodified lines
modified:shell/key-bindings.bash+2 added-2 removed
23 unmodified lines
24# To modify it, one can edit "common.sh" and run "./update.sh" to apply25# the changes. See code comments in "common.sh" for the implementation details.2627__fzf_defaults() {28 printf '%s\n' "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"28 builtin printf '%s\n' "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"29 command cat "${FZF_DEFAULT_OPTS_FILE-}" 2> /dev/null30 printf '%s\n' "${FZF_DEFAULT_OPTS-} $2"30 builtin printf '%s\n' "${FZF_DEFAULT_OPTS-} $2"31}3233__fzf_exec_awk() {34 if [[ -z ${__fzf_awk-} ]]; then
140 unmodified lines
modified:shell/key-bindings.zsh+2 added-2 removed
43 unmodified lines
44# To modify it, one can edit "common.sh" and run "./update.sh" to apply45# the changes. See code comments in "common.sh" for the implementation details.4647__fzf_defaults() {48 printf '%s\n' "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"48 builtin printf '%s\n' "--height ${FZF_TMUX_HEIGHT:-40%} --min-height 20+ --bind=ctrl-z:ignore $1"49 command cat "${FZF_DEFAULT_OPTS_FILE-}" 2> /dev/null50 printf '%s\n' "${FZF_DEFAULT_OPTS-} $2"50 builtin printf '%s\n' "${FZF_DEFAULT_OPTS-} $2"51}5253__fzf_exec_awk() {54 if [[ -z ${__fzf_awk-} ]]; then
144 unmodified lines
modified:test/test_core.rb+1 added-1 removed
1189 unmodified lines
1190 tmux.until { |lines| assert lines.any_include?('9999␊10000') }1191 end11921193 def test_freeze_left_tabstop1194 writelines(["1\t2\t3"])1194 writelines(%W[1\t2\t3])1195 # With --freeze-left 1 and --tabstop=2:1196 # Frozen left: "1" (width 1)1197 # Middle starts with "\t" at prefix width 1, tabstop 2 → 1 space1198 # Then "2" at column 2, next "\t" at column 3 → 1 space, then "3"
1258 unmodified lines