mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
feat: set default highlights (#135)
This commit is contained in:
parent
2e9cbda5cf
commit
e7825aaf57
@ -64,6 +64,11 @@ end
|
||||
|
||||
---@return nil
|
||||
function Frecency:setup()
|
||||
vim.api.nvim_set_hl(0, "TelescopeBufferLoaded", { link = "Todo", default = true })
|
||||
vim.api.nvim_set_hl(0, "TelescopePathSeparator", { link = "Directory", default = true })
|
||||
vim.api.nvim_set_hl(0, "TelescopeFrecencyScores", { link = "Number", default = true })
|
||||
vim.api.nvim_set_hl(0, "TelescopeQueryFilter", { link = "WildMenu", default = true })
|
||||
|
||||
-- TODO: Should we schedule this after loading shada?
|
||||
if not self.database:has_entry() then
|
||||
self.database:insert_files(vim.v.oldfiles)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user