Adding color with colorizer & rainbow

Install colorizer

Configuration

Create a place for lua plugins

Add the following:

Remember to source in init.vim, but a little differently this time

Note

This will not work if the file doesn't have and extension i.e. .txt .py. js .css

If you want to enable it you can do so like this:

Cool Note

You can increment and decrement in vim with c-a and c-x

just hover over a number in normal mode

r also work great

Lua Note

Install luarocks if you want to use with coc-lua

Examples

Enter the following to see what happens

Checkout the repo

colorizer

Install Rainbow

Configuration


Tagged in neovim