summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/telescope/pickers.lua2
-rw-r--r--plugin/telescope.vim2
2 files changed, 3 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",
})
diff --git a/plugin/telescope.vim b/plugin/telescope.vim
index be8e3e0..53d1424 100644
--- a/plugin/telescope.vim
+++ b/plugin/telescope.vim
@@ -35,6 +35,8 @@ highlight default link TelescopePromptTitle TelescopeTitle
highlight default link TelescopeResultsTitle TelescopeTitle
highlight default link TelescopePreviewTitle TelescopeTitle
+highlight default link TelescopePromptCounter NonText
+
" Used for highlighting characters that you match.
highlight default link TelescopeMatching Special