You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening the colorscheme picker with telescope and then closing that picker without selecting any colorscheme, any custom highlights that have been previously applied get cleared.
Note: After testing I have noticed that this problem only exists on the 0.1.x release branch. When I switch to the master branch it seems that that problem has already been fixed. So the solution could possibly just be merged from the master branch.
Description
When opening the colorscheme picker with telescope and then closing that picker without selecting any colorscheme, any custom highlights that have been previously applied get cleared.
Note: After testing I have noticed that this problem only exists on the 0.1.x release branch. When I switch to the master branch it seems that that problem has already been fixed. So the solution could possibly just be merged from the master branch.
Neovim version
Operating system and version
Distro: Linux Mint 21 Vanessa, base: Ubuntu 22.04 jammy
Telescope version / branch / rev
telescope 0.1.x
checkhealth telescope
Steps to reproduce
nvim -nu minimal.lua
to open Neovim:lua vim.api.nvim_set_hl(0, 'NORMAL', {fg = 'blue'})
to change highlight of an already existing highlight group.:lua vim.api.nvim_set_hl(0, 'Custom', {fg = 'red'})
to create a completely custom highlight group.:Telescope colorscheme
to open the colorscheme picker.<C-c>
to close the colorscheme picker without selecting any theme.Expected behavior
After closing the colorscheme picker, all of the highlight settings should be the same as before opening said picker.
Actual behavior
Both existing and custom highlight groups get cleared to their default values.
Minimal config
The text was updated successfully, but these errors were encountered: