feat(telescope): support live preview of currently selected colorscheme#1085
feat(telescope): support live preview of currently selected colorscheme#1085Jint-lzxy merged 1 commit intoayamir:mainfrom Cyberczy:patch-1
Conversation
Signed-off-by: Cyberczy <109653523+Cyberczy@users.noreply.github.com>
before.mp4 |
after.mp4 |
ayamir
left a comment
There was a problem hiding this comment.
In fact, alpha.lua is also needed to change.
yup, I had that problem too,and I'll try to fix it later |
|
nice work! |
I made the same change in |
it.didn.t.work.mp4 |
2023-11-30.16-38-53.mp4In this video, you can clearly see that the README.md file works properly, but the nvim-tree file does not |
|
yup, but I'm running out of ideas |
AFAIU this is the expected behavior under the current implementation. Since these buffers aren't included in the listed buffer list, there's no simple way to open such a buffer in another window, and setting the current colorscheme to itself in those buffers (e.g, running nvim unlisted_buffer "+set nobuflisted | Telescope colorscheme enable_preview=true"So I'm kinda on the fence about whether to include this patch in our defaults, because it doesn't work as expected in some (rather common) use cases. |
Thank you no matter what |
|
I tend to merge it and add the exception situations to wiki. |
…me (ayamir#1085) Signed-off-by: Cyberczy <109653523+Cyberczy@users.noreply.github.com>





When I use fc to switch colorschemes,I can't see the change in real time.
So I made some changes