summaryrefslogtreecommitdiff
path: root/lua/telescope
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2021-12-03 14:36:32 +0100
committerSimon Hauser <Simon-Hauser@outlook.de>2021-12-03 14:36:32 +0100
commit4e075bf924dcd1127380a00b38a8fb567749f72a (patch)
tree618a4802806d6a8edf0b9709d0547653bd097d16 /lua/telescope
parent4b3efd2341929969da8cbfca82f7bf684d5aa233 (diff)
feat: highlight group for counter: TelescopePromptCounter
fix #1540
Diffstat (limited to 'lua/telescope')
-rw-r--r--lua/telescope/pickers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua
index c4cdd53..41f010c 100644
--- a/lua/telescope/pickers.lua
+++ b/lua/telescope/pickers.lua
@@ -1095,7 +1095,7 @@ function Picker:get_status_updater(prompt_win, prompt_bufnr)
local text = self:get_status_text(opts)
vim.api.nvim_buf_clear_namespace(prompt_bufnr, ns_telescope_prompt, 0, -1)
vim.api.nvim_buf_set_extmark(prompt_bufnr, ns_telescope_prompt, 0, 0, {
- virt_text = { { text, "NonText" } },
+ virt_text = { { text, "TelescopePromptCounter" } },
virt_text_pos = "right_align",
})