mirror of
https://github.com/norcalli/nvim-colorizer.lua.git
synced 2026-09-10 07:06:14 -04:00
adding more on readme
This commit is contained in:
parent
63f8a01290
commit
5604408234
|
|
@ -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.
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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*
|
||||
|
|
|
|||
Loading…
Reference in a new issue