-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor Highlights being overriden by Lazyvim #151
Comments
I'm not familiar with these highlight groups, is there some documentation you can point me to that explains some more about them? |
It is mentioned in the options of the guicursor, gcr vim.opt.guicursor = { |
I've been able to get this partially working with cyberdream using the following config: return {
"scottmckendry/cyberdream.nvim",
lazy = false,
priority = 1000,
config = function()
require("cyberdream").setup({
theme = {
overrides = function(colors)
return {
nCursor = { bg = colors.blue },
vCursor = { bg = colors.green },
iCursor = { bg = colors.red },
}
end,
},
})
vim.cmd("colorscheme cyberdream")
end,
} I say partially because Normal and Visual modes change the colour, but Insert mode still looks the same. Have you changed anything else since this was last working? Terminal, etc? Can you still replicate the issue with a different colorscheme like tokyonight? |
Description
I'm using Cyberdream with LazyVim and Im trying to make the cursor change to match the colors of the current vim mode..
Ex.:
Normal is blue, Insert is green, Visual is purple.
But adding nCursor, iCursor and vCursor in the highlights doesnt change the cursor color, I even tried to use the override function to override the highlights but still it didnt work.
Neovim version?
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713484068
What should happen?
The cursor would have different colors depending on what mode vim is.
What happened instead?
The cursor is white and no matter what I do it doesnt change.
Your configuration
The text was updated successfully, but these errors were encountered: