From 2bd8a5e4b77367c29f3c9ed2091023dc69f35239 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 20 Feb 2019 14:33:55 -0700 Subject: Add a colorcolumn character option. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This option allows a character to be displayed in the colorcolumn. This allows the colorcolumn ot have a traditional line if the colorcolumn character is set to a vertical line '│' or even a series of dots for a ':'. The option is a part of the 'listchars' setting under the name 'colorcol'. So 'set listchars=colorcol:│' will work. --- src/nvim/eval/funcs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/eval') diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c index e7fb6ed504..fa5a3eb67b 100644 --- a/src/nvim/eval/funcs.c +++ b/src/nvim/eval/funcs.c @@ -4457,6 +4457,8 @@ static void f_has(typval_T *argvars, typval_T *rettv, FunPtr fptr) "wsl", #endif "nvim", + "colorcolchar", + "omnihighlight", }; bool n = false; -- cgit