diff options
author | Josh Rahm <rahm@google.com> | 2019-02-20 14:33:55 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-01-11 14:12:30 -0700 |
commit | aba03932eeade5af887355d6fadb58ad0dda6b89 (patch) | |
tree | ec965825a942e080a65ee26b07989f337f223f86 /src/nvim/eval/funcs.c | |
parent | a3ce4403c6ec97fdadb92e4ffc7ea65bf797112c (diff) | |
download | rneovim-aba03932eeade5af887355d6fadb58ad0dda6b89.tar.gz rneovim-aba03932eeade5af887355d6fadb58ad0dda6b89.tar.bz2 rneovim-aba03932eeade5af887355d6fadb58ad0dda6b89.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 7701688b49..0525352e1c 100644 --- a/src/nvim/eval/funcs.c +++ b/src/nvim/eval/funcs.c @@ -4550,6 +4550,8 @@ static void f_has(typval_T *argvars, typval_T *rettv, FunPtr fptr) "winaltkeys", "writebackup", "nvim", + "colorcolchar", + "omnihighlight", }; bool n = false; |