From 452e41f92ed74cec3c09ff06a69bdbf486dd060c Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Tue, 12 Aug 2008 21:18:55 +0200 Subject: [PATCH] Now works to set 'linespace' in [g]vimrc --- src/MacVim/gui_macvim.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MacVim/gui_macvim.m b/src/MacVim/gui_macvim.m index 325dd5317f..ed50ab3cd4 100644 --- a/src/MacVim/gui_macvim.m +++ b/src/MacVim/gui_macvim.m @@ -130,6 +130,10 @@ gui_mch_init(void) // NOTE: If this call is left out the cursor is opaque. highlight_gui_started(); + // Ensure 'linespace' option is passed along to MacVim in case it was set + // in [g]vimrc. + gui_mch_adjust_charheight(); + return OK; }