Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Not an editor command: PickColor (and other) #26

Open
maciejcieslik opened this issue Feb 22, 2024 · 1 comment
Open

Not an editor command: PickColor (and other) #26

maciejcieslik opened this issue Feb 22, 2024 · 1 comment

Comments

@maciejcieslik
Copy link

When i try to use color picker i get error about not existing command:

image

{
    "ziontee113/color-picker.nvim",
    config = function()
      require("color-picker")
    end,
},

Mappings:

M.color_picker = {
  plugin = true,
  n = {

    ["<C-c>"] = {"<cmd> PickColor <CR>"},
    --["<C-c>"] = {"<cmd> PickColorInsert <CR>"},
    ["<leader>rgb"] = {"<cmd> ConvertHEXandRGB <CR>"},
    ["<leader>hsl"] = {"<cmd> ConvertHEXandHSL <CR>"},
  }
}

I use:
nvim 0.9.5
Build type: RelWithDebInfo
LuaJIT 2.1.1703942320

on Windows 11 64bit

with nvchad (latest)

@dikkadev
Copy link

Same with lazy and newer version

{
    'ziontee113/color-picker.nvim',
    init = function(_)
        require('color-picker').setup()
    end,
    keys = {
        { '<leader>cp', '<cmd>ColorPicker<cr>', desc = 'Color picker' },
    }
}
NVIM v0.10.0-dev-2854+g49983387f
Build type: RelWithDebInfo
LuaJIT 2.1.1710088188

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants