Skip to content

Commit a36ef6f

Browse files
committed
fix(telescope): 'flat' style look closer to readme screenshots
1 parent 11ef74a commit a36ef6f

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

lua/cyberdream/extensions/telescope.lua

+10-7
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,32 @@ function M.get(opts, t)
2020
TelescopePreviewTitle = { fg = t.magenta },
2121
TelescopeSelection = { bg = t.bgHighlight },
2222
TelescopePromptCounter = { fg = t.pink },
23+
TelescopeMatching = { fg = t.cyan },
2324
}
2425

2526
if borderless_telescope then
2627
highlights.TelescopeBorder = { fg = t.bgAlt, bg = t.bgAlt }
2728
highlights.TelescopeNormal = { bg = t.bgAlt }
2829
highlights.TelescopePreviewBorder = { fg = t.bgAlt, bg = t.bgAlt }
2930
highlights.TelescopePreviewNormal = { bg = t.bgAlt }
31+
highlights.TelescopeResultsTitle = { fg = t.bgAlt, bg = t.cyan }
32+
highlights.TelescopeResultsBorder = { fg = t.bgAlt, bg = t.bgAlt }
33+
highlights.TelescopeResultsNormal = { bg = t.bgAlt }
3034
if telescope_style == "nvchad" then
3135
highlights.TelescopePreviewTitle = { fg = t.bgAlt, bg = t.green, bold = true }
3236
highlights.TelescopePromptBorder = { fg = t.bgHighlight, bg = t.bgHighlight }
3337
highlights.TelescopePromptNormal = { fg = t.fg, bg = t.bgHighlight }
3438
highlights.TelescopePromptPrefix = { fg = t.red, bg = t.bgHighlight }
3539
highlights.TelescopePromptTitle = { fg = t.bgAlt, bg = t.red, bold = true }
36-
else
37-
highlights.TelescopePreviewTitle = { fg = t.bgAlt, bg = t.green }
40+
elseif telescope_style == "flat" then
41+
highlights.TelescopePreviewTitle = { fg = t.bgAlt, bg = t.green, bold = true }
3842
highlights.TelescopePromptBorder = { fg = t.bgAlt, bg = t.bgAlt }
3943
highlights.TelescopePromptNormal = { fg = t.fg, bg = t.bgAlt }
40-
highlights.TelescopePromptPrefix = { fg = t.red, bg = t.bgAlt }
41-
highlights.TelescopePromptTitle = { fg = t.bgAlt, bg = t.red }
44+
highlights.TelescopePromptPrefix = { fg = t.blue, bg = t.bgAlt }
45+
highlights.TelescopePromptCounter = { fg = t.cyan, bg = t.bgAlt }
46+
highlights.TelescopePromptTitle = { fg = t.bgAlt, bg = t.blue, bold = true }
47+
highlights.TelescopeResultsTitle = { fg = t.blue, bg = t.bgAlt, bold = true }
4248
end
43-
highlights.TelescopeResultsBorder = { fg = t.bgAlt, bg = t.bgAlt }
44-
highlights.TelescopeResultsNormal = { bg = t.bgAlt }
45-
highlights.TelescopeResultsTitle = { fg = t.bgAlt, bg = t.cyan }
4649
end
4750

4851
return highlights

0 commit comments

Comments
 (0)