nvim-colorizer.lua icon indicating copy to clipboard operation
nvim-colorizer.lua copied to clipboard

are the settings correct? I can't see the color

Open ghost opened this issue 4 years ago • 5 comments

use {
    'norcalli/nvim-colorizer.lua',
    config = function() require'colorizer'.setup{
      'dart';
    }
  end }

:ColorizerAttachToBuffer and :ColorizerReloadAllBuffers but the color is not displayed, I have not configured something? Screenshot at Dec 20 18-26-07

ghost avatar Dec 20 '21 13:12 ghost

Same issue here with lua

CleoMenezesJr avatar Dec 20 '21 13:12 CleoMenezesJr

Have you attached the plugin to the file type in question? From the README:

-- Attaches to every FileType mode
require 'colorizer'.setup()

-- Attach to certain Filetypes, add special configuration for `html`
-- Use `background` for everything else.
require 'colorizer'.setup {
  'css';
  'javascript';
  html = {
    mode = 'foreground';
  }
}

louis-vinchon avatar Mar 16 '22 00:03 louis-vinchon

Снимок экрана 2022-03-16 в 18 56 28

ghost avatar Mar 16 '22 13:03 ghost

Снимок экрана 2022-03-16 в 19 00 32 vs code Снимок экрана 2022-03-16 в 19 02 14

is it possible to implement highlighting as well?

ghost avatar Mar 16 '22 14:03 ghost

problems this ? 0xFF118FA0 where 0x?

ghost avatar Mar 16 '22 14:03 ghost