Skip to content

Rehd0/colorviewer.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 colorviewer.nvim

Preview

A Neovim plugin that displays VSCode-like color swatches inline for color names in your code. No fancy dependencies. No lag. Just beautiful simplicity 😋

Features

  • 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.

Installation

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 = "",
})
EOF

📜 License

Released under the MIT License.
© 2025 Rehd — free to use, modify, and share. (。•̀ᴗ-)✧

About

A lightweight Neovim plugin that displays VSCode-like color swatches inline for color names.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages