From 56044082340132c4312bd7e9e76d3877cb7dd66d Mon Sep 17 00:00:00 2001 From: Dingcheng Yue Date: Mon, 26 Apr 2021 17:51:07 +0100 Subject: [PATCH] adding more on readme --- README.md | 2 +- doc/colorizer-lua.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index abdc368..a8e75ab 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ library to do custom highlighting themselves. hsl_fn = false; -- CSS hsl() and hsla() functions css = false; -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB css_fn = false; -- Enable all CSS *functions*: rgb_fn, hsl_fn - -- Available modes: foreground, background + -- Available modes: foreground, background, virtualtext mode = 'background'; -- Set the display mode. } ``` diff --git a/doc/colorizer-lua.txt b/doc/colorizer-lua.txt index bcad522..84db37f 100644 --- a/doc/colorizer-lua.txt +++ b/doc/colorizer-lua.txt @@ -64,12 +64,14 @@ Assumes the module is imported as `colorizer` css_fn = false; -- Enable all CSS *functions*: rgb_fn, hsl_fn -- Available modes: foreground, background mode = 'background'; -- Set the display mode. + virtualtext = '■'; -- the virtual text block } < MODES: - 'foreground': sets the foreground text color. - 'background': sets the background text color. +- 'virtualtext': indicate the color behind the virtualtext |colorizer.setup| *colorizer.setup*