Better visible visual selection background color
This commit is contained in:
parent
e9cf35a476
commit
b3c94daa67
1 changed files with 49 additions and 47 deletions
|
|
@ -1,49 +1,51 @@
|
||||||
return {
|
return {
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
opts = {},
|
opts = {},
|
||||||
config = function()
|
config = function()
|
||||||
local tokyonight = require('tokyonight')
|
local tokyonight = require("tokyonight")
|
||||||
tokyonight.setup({
|
tokyonight.setup({
|
||||||
styles = {
|
styles = {
|
||||||
comments = { italic = true },
|
comments = { italic = true },
|
||||||
},
|
},
|
||||||
on_colors = function(colors)
|
on_colors = function(colors)
|
||||||
-- Brighten up comments a bit
|
-- Brighten up comments a bit
|
||||||
colors.comment = '#888fac'
|
colors.comment = "#888fac"
|
||||||
end,
|
-- Better visible visual selection background color
|
||||||
-- Remove borders from Telescope windows
|
colors.bg_visual = "#e82a86"
|
||||||
on_highlights = function(hl, c)
|
end,
|
||||||
local prompt = '#4e3e6c'
|
-- Remove borders from Telescope windows
|
||||||
hl.TelescopeNormal = {
|
on_highlights = function(hl, c)
|
||||||
bg = c.bg_dark,
|
local prompt = "#4e3e6c"
|
||||||
fg = c.fg_dark,
|
hl.TelescopeNormal = {
|
||||||
}
|
bg = c.bg_dark,
|
||||||
hl.TelescopeBorder = {
|
fg = c.fg_dark,
|
||||||
bg = c.bg_dark,
|
}
|
||||||
fg = c.bg_dark,
|
hl.TelescopeBorder = {
|
||||||
}
|
bg = c.bg_dark,
|
||||||
hl.TelescopePromptNormal = {
|
fg = c.bg_dark,
|
||||||
bg = prompt,
|
}
|
||||||
}
|
hl.TelescopePromptNormal = {
|
||||||
hl.TelescopePromptBorder = {
|
bg = prompt,
|
||||||
bg = prompt,
|
}
|
||||||
fg = prompt,
|
hl.TelescopePromptBorder = {
|
||||||
}
|
bg = prompt,
|
||||||
hl.TelescopePromptTitle = {
|
fg = prompt,
|
||||||
bg = prompt,
|
}
|
||||||
fg = prompt,
|
hl.TelescopePromptTitle = {
|
||||||
}
|
bg = prompt,
|
||||||
hl.TelescopePreviewTitle = {
|
fg = prompt,
|
||||||
bg = c.bg_dark,
|
}
|
||||||
fg = c.bg_dark,
|
hl.TelescopePreviewTitle = {
|
||||||
}
|
bg = c.bg_dark,
|
||||||
hl.TelescopeResultsTitle = {
|
fg = c.bg_dark,
|
||||||
bg = c.bg_dark,
|
}
|
||||||
fg = c.bg_dark,
|
hl.TelescopeResultsTitle = {
|
||||||
}
|
bg = c.bg_dark,
|
||||||
end,
|
fg = c.bg_dark,
|
||||||
})
|
}
|
||||||
end
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue