macos: swiftlint 'comma' rule

This commit is contained in:
Jon Parise
2026-02-19 18:33:34 -05:00
parent 786bad9774
commit 6ade5df799
2 changed files with 1 additions and 2 deletions

View File

@@ -13,7 +13,6 @@ disabled_rules:
- type_body_length
# TODO
- comma
- comment_spacing
- control_statement
- deployment_target

View File

@@ -459,7 +459,7 @@ class TerminalWindow: NSWindow {
backgroundColor = .white.withAlphaComponent(0.001)
// We don't need to set blur when using glass
if !surfaceConfig.backgroundBlur.isGlassStyle, let appDelegate = NSApp.delegate as? AppDelegate {
if !surfaceConfig.backgroundBlur.isGlassStyle, let appDelegate = NSApp.delegate as? AppDelegate {
ghostty_set_window_background_blur(
appDelegate.ghostty.app,
Unmanaged.passUnretained(self).toOpaque())