Skip to content

Commit d7d7e3e

Browse files
committed
Fix typos
1 parent d684e32 commit d7d7e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Core/Sources/SuggestionInjector/SuggestionInjector.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ public struct SuggestionInjector {
104104
)
105105
}
106106

107-
// if the suggestion is only appeding new lines and spaces, return without modification
107+
// if the suggestion is only appending new lines and spaces, return without modification
108108
if completion.text.dropFirst(commonPrefix.count)
109109
.allSatisfy({ $0.isWhitespace || $0.isNewline }) { return }
110110

111-
// determin if it's inserted to the current line or the next line
111+
// determine if it's inserted to the current line or the next line
112112
let lineIndex = start.line + {
113113
guard let existedLine else { return 0 }
114114
if existedLine.isEmptyOrNewLine { return 1 }

0 commit comments

Comments
 (0)