-
my configuration {
-- https://github.com/folke/tokyonight.nvim
'folke/tokyonight.nvim',
enabled = true,
lazy = false,
priority = 1000,
init = function()
vim.cmd([[colorscheme tokyonight]])
end,
opts = {
transparent = not vim.g.neovide,
styles = {
style = 'storm', -- The theme comes in three styles, `storm`, a darker variant `night` and `day`
light_style = 'day', -- The theme is used when the background is set to light
comments = { italic = true },
keywords = { italic = true },
functions = {},
variable = {},
sidebars = 'dark', -- style for sidebars, see below
floats = 'transparent', -- style for floating windows
},
sidebars = { 'qf' },
},
}, but it can't work most of the time. |
Beta Was this translation helpful? Give feedback.
Answered by
BYT0723
Aug 14, 2024
Replies: 1 comment
-
set float = not vim.g.neovide and 'transparent' or 'dark' |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BYT0723
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
set float = not vim.g.neovide and 'transparent' or 'dark'