Open brimosimo opened 6 days ago
Hey @brimosimo, I have not been using packer from a long time but I would just recommend that you call this line:
config = function()
require("colorbuddy").colorscheme("cobalt2")
end,
with your packer config where you have mentioned the cobalt2.nvim
to be installed. For example:
use {
'lalitmee/cobalt2.nvim',
requires = 'tjdevries/colorbuddy.nvim'
config = function()
-- this needs to be called after the plugins has loaded
require("colorbuddy").colorscheme("cobalt2")
end,
}
Let me know if this fixes it.
I did as you said, but had to add a ,
after the require statement:
use {
'lalitmee/cobalt2.nvim',
requires = 'tjdevries/colorbuddy.nvim',
config = function()
require("colorbuddy").colorscheme("cobalt2")
end
}
I think I already tried this earlier, the effect is the same. Colors are still broken.
@brimosimo, as far as I remember when I was using packer
I used to have an after/plugin/color.lua
where I used to call the following:
require("colorbuddy").colorscheme("cobalt2")
And the following was my init.lua. I am sure that there is some setting mistake.
Please check it with minimal config. Maybe some other plugin is conflicting with it.
@lalitmee I tried this suggestions multiple times, tried it with all settings I could find online, verified again my $TERM env is correct. Installed different terminals, alacritty and kitty, all show the same color. I tried with a custom minimal .lua config calling nvim -u minimal.lua
only having packer and colorbuddy plus cobalt2, it always results in those broken colors. I even installed neovim 9.5 because I read that 10.0 introduced changes to highlight groups, still, same effect.
I moved all my shell customisation like .profile and .zprofile, still no luck. I honestly have no idea what else I should try. I appreciate your instant replies though, thank you very much.
I have now been trying for hours, I can't get your beautiful colorscheme to work. Here is what I did, I use NVIM v0.10.2, with wbthomason/packer to manage my plugins. I have the following in my packer.lua:
Installation worked like a charm. I have this in my lua.init:
require("colorbuddy").colorscheme("cobalt2")
My colorscheme now changes, but it does look awful:
I'm starting from within iTerm 2 on MacOS, I made sure that no .vimrc or .xvimrc are being loaded in compatibility mode, I made sure with scripts that iTerm can handle truecolors, I tried setting
termguicolors = true
all without luck. There are no messages being shown when starting vim. Is there any way I can troubleshoot this further? I would really like to use this colorscheme.