Open AndreiMoraru123 opened 5 days ago
Hello @AndreiMoraru123,
The first one is actually the default one that should not work if your lualine plugin is set to true
.
And the second one is something that the lualine should look like because of darkvoid theme.
So, your solution is... since you like the default one there is option for everybody right as this is cutomizable theme and everyone can keep it the way they want! Just in your config, make lualine = false.
-- colorscheme.lua
function ColorMyPencils(color)
color = color or "darkvoid"
vim.cmd.colorscheme(color)
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end
return {
"aliqyan-21/darkvoid.nvim",
cond = not vim.g.vscode,
config = function()
vim.cmd("colorscheme darkvoid")
require('darkvoid').setup({
transparent = true,
glow = true,
plugins = {
gitsigns = true,
nvim_cmp = true,
treesitter = true,
nvimtree = true,
telescope = true,
lualine = false, -- here make lualine support off and you are good to go.
bufferline = true,
oil = true,
whichkey = true,
nvim_notify = true,
},
})
ColorMyPencils()
end
}
Works?
Thanks for clarifying, @Aliqyan-21. It now seems to get triggered even with lualine set to false:
and then opening it again:
I opened this issue because the line keeps changing on different occasions. You are probably right that I got something off in my config, but I don't understand why the shift between the two looks takes place
If you prefer, I could probably make a screen recording of this, as it would better explain the behavior.
in your config (sorry @AndreiMoraru123 for not seeing it before):
Current:
-- colorscheme.lua
function ColorMyPencils(color)
color = color or "darkvoid"
vim.cmd.colorscheme(color)
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end
return {
"aliqyan-21/darkvoid.nvim",
cond = not vim.g.vscode,
config = function()
vim.cmd("colorscheme darkvoid")
require('darkvoid').setup({
transparent = true,
glow = true,
plugins = {
gitsigns = true,
nvim_cmp = true,
treesitter = true,
nvimtree = true,
telescope = true,
lualine = false, -- here make lualine support off and you are good to go.
bufferline = true,
oil = true,
whichkey = true,
nvim_notify = true,
},
})
ColorMyPencils()
end
}
You need to put the plugins
inside colors
actually...
Corrected
-- colorscheme.lua
function ColorMyPencils(color)
color = color or "darkvoid"
vim.cmd.colorscheme(color)
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end
return {
"aliqyan-21/darkvoid.nvim",
cond = not vim.g.vscode,
config = function()
vim.cmd("colorscheme darkvoid")
require('darkvoid').setup({
transparent = true,
glow = true,
colors = {
plugins = {
gitsigns = true,
nvim_cmp = true,
treesitter = true,
nvimtree = true,
telescope = true,
lualine = false, -- here make lualine support off and you are good to go.
bufferline = true,
oil = true,
whichkey = true,
nvim_notify = true,
}
}
})
ColorMyPencils()
end
}
Try if this is working @AndreiMoraru123
Interestingly, it now results in a different color 😆
Hi! On some vim openings the theme's lualine seems to work as it should
While on other it does not
The config goes like this, using lazy: