fix: spelling previous

This commit is contained in:
Maas Lalani 2023-05-14 23:15:02 -04:00
parent 562bcaa9df
commit 7f855f5b1b
No known key found for this signature in database
GPG key ID: 5A6ED5CBF1A0A000

View file

@ -72,7 +72,7 @@ func (s *search) NextMatch(m *model) {
return
}
// Remove Previvous highlight.
// Remove previous highlight.
m.content = strings.Replace(m.content, s.matchLipglossStr, s.matchString, 1)
// Highlight the next match.
@ -110,7 +110,7 @@ func (s *search) PrevMatch(m *model) {
return
}
// Remove Previvous highlight.
// Remove previous highlight.
m.content = strings.Replace(m.content, s.matchLipglossStr, s.matchString, 1)
// Highlight the previous match.