tjdevries / colorbuddy.nvim

Your color buddy for making cool neovim color schemes
MIT License
666 stars 24 forks source link

Error when loading: Not a valid foreground color #39

Closed Martinits closed 8 months ago

Martinits commented 2 years ago

I am trying to use snazzybuddy.nvim (https://github.com/bbenzikry/snazzybuddy.nvim) and add these to my init.vim:

Plug 'tjdevries/colorbuddy.nvim'
Plug 'bbenzikry/snazzybuddy.nvim'
color snazzybuddy

And it says:

stack traceback:
^I...re/nvim/plugged/colorbuddy.nvim/lua/colorbuddy/group.lua:182: in function 'handle_group_argument'
^I...re/nvim/plugged/colorbuddy.nvim/lua/colorbuddy/group.lua:196: in function 'new'
^I.../share/nvim/plugged/snazzybuddy.nvim/lua/snazzybuddy.lua:272: in function 'load'
^I.../share/nvim/plugged/snazzybuddy.nvim/lua/snazzybuddy.lua:993: in main chunk
^I[C]: in function 'require'
^I[string ":lua"]:1: in main chunk
Error detected while processing /home/martinit/.local/share/nvim/plugged/snazzybuddy.nvim/colors/snazzybuddy.vim:
line    1:
E5108: Error executing lua ...re/nvim/plugged/colorbuddy.nvim/lua/colorbuddy/group.lua:183: Not a valid foreground color: {table
}: table: 0x7f4a7a78d780 /
stack traceback:
        [C]: in function 'error'
        ...re/nvim/plugged/colorbuddy.nvim/lua/colorbuddy/group.lua:183: in function 'handle_group_argument'
        ...re/nvim/plugged/colorbuddy.nvim/lua/colorbuddy/group.lua:196: in function 'new'
        .../share/nvim/plugged/snazzybuddy.nvim/lua/snazzybuddy.lua:272: in function 'load'
        .../share/nvim/plugged/snazzybuddy.nvim/lua/snazzybuddy.lua:993: in main chunk
        [C]: in function 'require'
        [string ":lua"]:1: in main chunk

Maybe a problem similar to https://github.com/tjdevries/colorbuddy.nvim/issues/23 ?

tjdevries commented 8 months ago

I just pushed a breaking update, so I'm going to close this and hope that i fixed it already :)