Skip to content

Neovim plugin providing completion source for X11 / web color names

License

Notifications You must be signed in to change notification settings

nat-418/cmp-color-names.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

cmp-color-names.nvim 🌈

This Neovim plugin provides an nvim-cmp completion source for X11 / web color names like SlateBlue and SeaGreen.

Installation

Using Packer:

use({
  'https://https://github.com/nat-418/cmp-color-names.nvim',
  config = {
    require('cmp-color-names').setup()
  }
})

Configuration

Add this source to your nvim-cmp configuration:

cmp.setup({
  sources = cmp.config.sources({
    { name = 'luasnip' },
  }, {
    { name = 'path' },
    { name = 'calc' },
    { name = 'git' },
    { name = 'buffer' },
    { name = 'omni' },
    { name = 'color_names'},
  })
})

Usage

Enjoy autocompleting obscure named colors!

About

Neovim plugin providing completion source for X11 / web color names

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages