Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Feb 10, 2025
1 parent cc48930 commit 79dbae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textarea/textarea.go
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ func (m Model) View() string {
displayLine++

var ln string
if m.ShowLineNumbers { //nolint:nestif
if m.ShowLineNumbers {
if wl == 0 { // normal line
isCursorLine := m.row == l
s.WriteString(m.lineNumberView(l+1, isCursorLine))
Expand Down

0 comments on commit 79dbae3

Please sign in to comment.