norcalli / nvim-colorizer.lua

The fastest Neovim colorizer.
Other
2.23k stars 117 forks source link

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

Open ghost opened 2 years ago

ghost commented 2 years ago
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

CleoMenezesJr commented 2 years ago

Same issue here with lua

louis-vinchon commented 2 years ago

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';
  }
}
ghost commented 2 years ago

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

ghost commented 2 years ago

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

is it possible to implement highlighting as well?

ghost commented 2 years ago

problems this ? 0xFF118FA0 where 0x?