From c8bbaa3b187bf934c400b9f60438283883aba9ac Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Wed, 14 Jul 2010 16:54:21 +0200
Subject: [PATCH] Missing piece for Mac console clipboard support. (Bjorn
 Winckler)

---
 runtime/doc/todo.txt | 3 ---
 src/main.c           | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index cb365a37c1..b151eb78a9 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1098,9 +1098,6 @@ Vim 7.3:
 - Conceal feature: no update when moving to another window. (Dominique Pelle,
   2010 Jul 5)  Vince will look into it.
 Patches to possibly include:
-- Patch for completion of ":find" arguments. (Nazri Ramliy, 2009 Feb 22, 26)
-  8   For ":find" and ":sfind" expand files found in 'path'.
-  Update 2009 Mar 28.
 - Patch for vertical line at certain column position, 'guidecolumn' option.
   (Pankaj Garg, 2009 Apr 14, aka Lone, Apr 15)
   Update 2009 May 2, 'margincolumn'
diff --git a/src/main.c b/src/main.c
index 964bdd59a8..e19084e92f 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
-- 
GitLab