A Neovim plugin that displays VSCode-like color swatches inline for color names in your code. No fancy dependencies. No lag. Just beautiful simplicity 😋
- Shows a colored box before recognized color names (e.g.,
red,green,#ff0000) in supported filetypes. - Automatically works in CSS, HTML, JS, JSX, TSX, Vue, and more.
use your favourite plugin manager
Using lazy.nvim:
{
'Godswill-255/colorviewer.nvim',
config = function()
require('colorviewer').setup({
symbol = "■",
})
end
}Using Packer.nvim:
use {'Godswill-255/colorviewer.nvim',
config = function()
require('colorviewer').setup({
symbol = "■",
})
end
}
Using init.vim:
Plug 'Godswill-255/colorviewer.nvim'
lua << EOF
require('colorviewer').setup({
symbol = "■",
})
EOFReleased under the MIT License.
© 2025 Rehd — free to use, modify, and share.
(。•̀ᴗ-)✧
