2022-10-09 22:40:29 +02:00
|
|
|
return {
|
|
|
|
opt = false,
|
|
|
|
config = function()
|
|
|
|
-- vim.o.background = "dark"
|
|
|
|
local tokyonight = require("tokyonight")
|
|
|
|
tokyonight.setup({
|
|
|
|
style = "moon",
|
2022-10-10 17:24:57 +02:00
|
|
|
--transparent = true,
|
|
|
|
hide_inactive_statusline = false,
|
2022-10-09 22:40:29 +02:00
|
|
|
sidebars = {
|
|
|
|
"qf",
|
|
|
|
"vista_kind",
|
|
|
|
"terminal",
|
|
|
|
"packer",
|
|
|
|
"spectre_panel",
|
|
|
|
"NeogitStatus",
|
|
|
|
"help",
|
|
|
|
"startuptime",
|
|
|
|
"Outline",
|
|
|
|
},
|
|
|
|
on_colors = function(c) end,
|
|
|
|
on_highlights = function(hl, c)
|
|
|
|
-- make the current line cursor orange
|
|
|
|
hl.CursorLineNr = { fg = c.orange, bold = true }
|
|
|
|
|
|
|
|
-- borderless telescope
|
2022-10-10 17:24:57 +02:00
|
|
|
--local prompt = "#2d3149"
|
|
|
|
--hl.TelescopeNormal = {
|
|
|
|
-- bg = c.bg_dark,
|
|
|
|
-- fg = c.fg_dark,
|
|
|
|
--}
|
2022-10-09 22:40:29 +02:00
|
|
|
hl.TelescopeBorder = {
|
|
|
|
bg = c.bg_dark,
|
2022-10-10 17:24:57 +02:00
|
|
|
-- fg = c.bg_dark,
|
2022-10-09 22:40:29 +02:00
|
|
|
}
|
2022-10-10 17:24:57 +02:00
|
|
|
--hl.TelescopePromptNormal = {
|
|
|
|
-- bg = prompt,
|
|
|
|
--}
|
|
|
|
--hl.TelescopePromptBorder = {
|
|
|
|
-- bg = prompt,
|
|
|
|
-- fg = prompt,
|
|
|
|
--}
|
|
|
|
--hl.TelescopePromptTitle = {
|
|
|
|
-- bg = c.fg_gutter,
|
|
|
|
-- fg = c.orange,
|
|
|
|
--}
|
|
|
|
--hl.TelescopePreviewTitle = {
|
|
|
|
-- bg = c.bg_dark,
|
|
|
|
-- fg = c.bg_dark,
|
|
|
|
--}
|
|
|
|
--hl.TelescopeResultsTitle = {
|
|
|
|
-- bg = c.bg_dark,
|
|
|
|
-- fg = c.bg_dark,
|
|
|
|
--}
|
2022-10-09 22:40:29 +02:00
|
|
|
end,
|
|
|
|
})
|
|
|
|
tokyonight.load()
|
|
|
|
end,
|
|
|
|
}
|