From 53ee7612d135786ad39ee51facbbf01498964f27 Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Mon, 15 Aug 2016 21:02:35 +0200 Subject: [PATCH] User user's monospace font by default --- SwiftNeoVim/NeoVimView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SwiftNeoVim/NeoVimView.swift b/SwiftNeoVim/NeoVimView.swift index 4e59abe1..b30b1006 100644 --- a/SwiftNeoVim/NeoVimView.swift +++ b/SwiftNeoVim/NeoVimView.swift @@ -21,7 +21,7 @@ public class NeoVimView: NSView, NSUserInterfaceValidations { public static let minFontSize = CGFloat(4) public static let maxFontSize = CGFloat(128) - public static let defaultFont = NSFont(name: "Menlo", size: 13)! + public static let defaultFont = NSFont.userFixedPitchFontOfSize(13)! public let uuid = NSUUID().UUIDString public weak var delegate: NeoVimViewDelegate?