From: Bram Moolenaar Date: Fri, 23 Jul 2010 20:27:03 +0000 (+0200) Subject: Window split didn't copy the value of 'conceallevel'. X-Git-Tag: v7.3~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d497a30cbe89e25e065c29cec7fd1988900b86e9;p=vim Window split didn't copy the value of 'conceallevel'. --- diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 3fd813297..0a7337d52 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 8d7f09a54..8a3f6b59b 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;