Skip to content
Myr

Add spell check workflow (#3183)

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

authored by Zhizhen He · committed by GitHub · parent 57ad21e · Browse files · 5 files+20 added−4 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+20 added−4 removed

  • other:+20 added−4 removed

5 files+20 added−4 removed

added:.github/workflows/typos.yml+10 added
modified:man/man1/fzf.1+1 added-1 removed
1143 unmodified lines
1144set, otherwise with \fBsh -c\fR, so in this case make sure that the command is1145POSIX-compliant.11461147\fBbecome(...)\fR action is similar to \fBexecute(...)\fR, but it replaces the1148current fzf process with the specifed command using \fBexecve(2)\fR system1148current fzf process with the specified command using \fBexecve(2)\fR system1149call.11501151 \fBfzf --bind "enter:become(vim {})"\fR1152
83 unmodified lines
modified:src/util/util_test.go+2 added-2 removed
68 unmodified lines
69 t.Error("Expected", math.MinInt32)70 }71}7273func TestContrain(t *testing.T) {73func TestConstrain(t *testing.T) {74 if Constrain(-3, -1, 3) != -1 {75 t.Error("Expected", -1)76 }77 if Constrain(2, -1, 3) != 2 {
4 unmodified lines
82 t.Error("Expected", 3)83 }84}8586func TestContrain32(t *testing.T) {86func TestConstrain32(t *testing.T) {87 if Constrain32(-3, -1, 3) != -1 {88 t.Error("Expected", -1)89 }90 if Constrain32(2, -1, 3) != 2 {
96 unmodified lines
modified:src/terminal.go+1 added-1 removed
3286 unmodified lines
3287 previewDraggingPos = my3288 break3289 }32903291 // Prevew scrollbar dragging3291 // Preview scrollbar dragging3292 headerLines := t.previewOpts.headerLines3293 pbarDragging = me.Down && (pbarDragging || clicked && t.hasPreviewWindow() && my >= t.pwindow.Top()+headerLines && my < t.pwindow.Top()+t.pwindow.Height() && mx == t.pwindow.Left()+t.pwindow.Width())3294 if pbarDragging {3295 effectiveHeight := t.pwindow.Height() - headerLines
296 unmodified lines
added:typos.toml+6 added