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 {
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
config = function()
|
||||
local tokyonight = require('tokyonight')
|
||||
tokyonight.setup({
|
||||
styles = {
|
||||
comments = { italic = true },
|
||||
},
|
||||
on_colors = function(colors)
|
||||
-- Brighten up comments a bit
|
||||
colors.comment = '#888fac'
|
||||
end,
|
||||
-- Remove borders from Telescope windows
|
||||
on_highlights = function(hl, c)
|
||||
local prompt = '#4e3e6c'
|
||||
hl.TelescopeNormal = {
|
||||
bg = c.bg_dark,
|
||||
fg = c.fg_dark,
|
||||
}
|
||||
hl.TelescopeBorder = {
|
||||
bg = c.bg_dark,
|
||||
fg = c.bg_dark,
|
||||
}
|
||||
hl.TelescopePromptNormal = {
|
||||
bg = prompt,
|
||||
}
|
||||
hl.TelescopePromptBorder = {
|
||||
bg = prompt,
|
||||
fg = prompt,
|
||||
}
|
||||
hl.TelescopePromptTitle = {
|
||||
bg = prompt,
|
||||
fg = prompt,
|
||||
}
|
||||
hl.TelescopePreviewTitle = {
|
||||
bg = c.bg_dark,
|
||||
fg = c.bg_dark,
|
||||
}
|
||||
hl.TelescopeResultsTitle = {
|
||||
bg = c.bg_dark,
|
||||
fg = c.bg_dark,
|
||||
}
|
||||
end,
|
||||
})
|
||||
end
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
config = function()
|
||||
local tokyonight = require("tokyonight")
|
||||
tokyonight.setup({
|
||||
styles = {
|
||||
comments = { italic = true },
|
||||
},
|
||||
on_colors = function(colors)
|
||||
-- Brighten up comments a bit
|
||||
colors.comment = "#888fac"
|
||||
-- Better visible visual selection background color
|
||||
colors.bg_visual = "#e82a86"
|
||||
end,
|
||||
-- Remove borders from Telescope windows
|
||||
on_highlights = function(hl, c)
|
||||
local prompt = "#4e3e6c"
|
||||
hl.TelescopeNormal = {
|
||||
bg = c.bg_dark,
|
||||
fg = c.fg_dark,
|
||||
}
|
||||
hl.TelescopeBorder = {
|
||||
bg = c.bg_dark,
|
||||
fg = c.bg_dark,
|
||||
}
|
||||
hl.TelescopePromptNormal = {
|
||||
bg = prompt,
|
||||
}
|
||||
hl.TelescopePromptBorder = {
|
||||
bg = prompt,
|
||||
fg = prompt,
|
||||
}
|
||||
hl.TelescopePromptTitle = {
|
||||
bg = prompt,
|
||||
fg = prompt,
|
||||
}
|
||||
hl.TelescopePreviewTitle = {
|
||||
bg = c.bg_dark,
|
||||
fg = c.bg_dark,
|
||||
}
|
||||
hl.TelescopeResultsTitle = {
|
||||
bg = c.bg_dark,
|
||||
fg = c.bg_dark,
|
||||
}
|
||||
end,
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue