From d497a30cbe89e25e065c29cec7fd1988900b86e9 Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Fri, 23 Jul 2010 22:27:03 +0200
Subject: [PATCH] Window split didn't copy the value of 'conceallevel'.

---
 runtime/doc/todo.txt | 8 +-------
 src/option.c         | 1 +
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 3fd8132978..0a7337d521 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -30,13 +30,7 @@ be worked on, but only if you sponsor Vim development.  See |sponsor|.
 							*known-bugs*
 -------------------- Known bugs and current work -----------------------
 
-a |test| and a |test| and a |test|.
-Conceal in help files doesn't work nice.  How about adding a 'concealcursor'
-option:
--> implemented, but column isn't quite right just after concealed character.
-- Don't conceal in Insert and Visual mode?  Or make 'concealcursor' a string
-  option with mode characters.
-- Check position in wrapped line.
+Check position in wrapped line with 'concealcursor' set.
 
 Trick with syntax ID works, but it's not nice.  Can we give a sequence nr to
 syntax item matches?  At least the ones with a replacement char.
diff --git a/src/option.c b/src/option.c
index 8d7f09a54d..8a3f6b59b6 100644
--- a/src/option.c
+++ b/src/option.c
@@ -9766,6 +9766,7 @@ copy_winopt(from, to)
 #endif
 #ifdef FEAT_CONCEAL
     to->wo_cocu = vim_strsave(from->wo_cocu);
+    to->wo_cole = from->wo_cole;
 #endif
 #ifdef FEAT_FOLDING
     to->wo_fdc = from->wo_fdc;
-- 
GitLab