summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-14 16:54:21 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-14 16:54:21 +0200
commitc8bbaa3b187bf934c400b9f60438283883aba9ac (patch)
treeaf357c4cadd83f90ee2d342fd964dead286a338f /src/main.c
parentcc448b373d580856f92ff7a9e04daf65444b5cd1 (diff)
downloadvim-git-c8bbaa3b187bf934c400b9f60438283883aba9ac.tar.gz
Missing piece for Mac console clipboard support. (Bjorn Winckler)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 964bdd59a..e19084e92 100644
--- a/src/main.c
+++ b/src/main.c
@@ -711,6 +711,10 @@ main
qnx_clip_init();
#endif
+#if defined(MACOS_X) && defined(FEAT_CLIPBOARD)
+ clip_init(TRUE);
+#endif
+
#ifdef FEAT_XCLIPBOARD
/* Start using the X clipboard, unless the GUI was started. */
# ifdef FEAT_GUI