aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 1ec45f5..6fda6a2 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ written with performance in mind and leveraging the excellent LuaJIT and a
handwritten parser, updates can be done in real time. There are plugins such as
[hexokinase](https://github.com/RRethy/vim-hexokinase) which have good
performance, but it has some difficulty with becoming out of sync. The downside
-is that *this only works for Neovim*, and that will never change.
+is that _this only works for Neovim_, and that will never change.
Additionally, having a Lua API that's available means users can use this as a
library to do custom highlighting themselves.
@@ -64,8 +64,10 @@ library to do custom highlighting themselves.
```
MODES:
+
- `foreground`: sets the foreground text color.
- `background`: sets the background text color.
+- `virtualtext`: indicate the color behind the virtualtext.
For basic setup, you can use a command like the following.
@@ -109,7 +111,6 @@ require 'colorizer'.setup {
}
```
-
For lower level interface, see the [LuaDocs for API details](https://norcalli.github.io/luadoc/nvim-colorizer.lua/modules/colorizer.html) or use `:h colorizer.lua` once installed.
## Commands
@@ -139,7 +140,6 @@ buffer.
Toggle highlighting of the current buffer.
```
-
## Caveats
If the file you are editing has no filetype, the plugin won't be attached, as