This commit is contained in:
Nima Askarian 2025-01-13 10:11:45 +01:00 committed by GitHub
commit fcaa8432d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,8 +14,31 @@ Requires Neovim >= 0.4.0 and `set termguicolors` (I'm looking into relaxing
these constraints). If you don't have true color for your terminal or are
unsure, [read this excellent guide](https://github.com/termstandard/colors).
Use your plugin manager or clone directly into your `runtimepath`.
Either clone directly into your `runtimepath`, use one of the package
managers below, or use your own package manager.
### Lazy
```lua
{
"norcalli/nvim-colorizer.lua",
config=true,
lazy=true,
cmd = {
"ColorizerToggle",
"ColorizerAttachToBuffer",
"ColorizerReloadAllBuffers",
"ColorizerDetachFromBuffer",
},
opts = {
"css",
"javascriptreact",
"html",
},
ft = { "css", "javascriptreact", "html" },
},
```
### Plug
```vim
Plug 'norcalli/nvim-colorizer.lua'
```