Skip to content

Commit 11d6e55

Browse files
committed
Update formatting
1 parent a8cd9bf commit 11d6e55

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Sources/LanguageServerProtocol/Requests/FormattingRequests.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,13 @@ public struct FormattingOptions: Codable, Hashable {
125125
/// Trim all newlines after the final newline at the end of the file.
126126
public var trimFinalNewlines: Bool?
127127

128-
public init(tabSize: Int, insertSpaces: Bool, trimTrailingWhitespace: Bool? = nil, insertFinalNewline: Bool? = nil, trimFinalNewlines: Bool? = nil) {
128+
public init(
129+
tabSize: Int,
130+
insertSpaces: Bool,
131+
trimTrailingWhitespace: Bool? = nil,
132+
insertFinalNewline: Bool? = nil,
133+
trimFinalNewlines: Bool? = nil
134+
) {
129135
self.tabSize = tabSize
130136
self.insertSpaces = insertSpaces
131137
self.trimTrailingWhitespace = trimTrailingWhitespace

0 commit comments

Comments
 (0)