diff options
author | Josh Rahm <rahm@google.com> | 2019-02-20 14:33:55 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2021-10-05 02:21:59 -0600 |
commit | 2bd8a5e4b77367c29f3c9ed2091023dc69f35239 (patch) | |
tree | d2f3f9983849bdf5968a16e4d504d2ae1bb8acf0 /src/nvim/eval/funcs.c | |
parent | ba1e9454aacd27582d1d4c5b5153bd175a16c461 (diff) | |
download | rneovim-2bd8a5e4b77367c29f3c9ed2091023dc69f35239.tar.gz rneovim-2bd8a5e4b77367c29f3c9ed2091023dc69f35239.tar.bz2 rneovim-2bd8a5e4b77367c29f3c9ed2091023dc69f35239.zip |
Add a colorcolumn character option.
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.
Diffstat (limited to 'src/nvim/eval/funcs.c')
-rw-r--r-- | src/nvim/eval/funcs.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |