Closed Cyberczy closed 7 months ago
事实上,
alpha.lua
也是需要改变的。
yup, I had that problem too,and I'll try to fix it later
nice work!
In fact,
alpha.lua
is also needed to change.
I made the same change in alpha.lua
, but it didn't work
In fact,
alpha.lua
is also needed to change.I made the same change in
alpha.lua
, but it didn't work
https://github.com/ayamir/nvimdots/assets/109653523/c1188fd6-ca91-408b-b161-84d00f711335
I change the lazy event of telescope.nvim
to BufWinEnter
, but it also wont change the colorscheme in realtime.
I also went dig some docs about alpha.nvim
and telescope.nvim
, can't find any useful info tho.
I change the lazy event of
telescope.nvim
toBufWinEnter
, but it also wont change the colorscheme in realtime.I also went dig some docs about
alpha.nvim
andtelescope.nvim
, can't find any useful info tho.
I had the same problem when using nvim-tree
https://github.com/ayamir/nvimdots/assets/109653523/bdc1f5d9-48ca-45c6-b0ce-f3f712400fb1
In this video, you can clearly see that the README.md file works properly, but the nvim-tree file does not
i think it's about special filetype
, for example, alpha's bufer filetype is alpha
and nvim-tree's bufer filetype is NvimTree
.
yup, but I'm running out of ideas
I made the same change in
alpha.lua
, but it didn't work
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 :colorscheme catppuccin
again when the current colorscheme is already catppuccin
) is usually not supported across implementations. And this is also the behavior when Telescope
is first opened (because the caret defaults to point to the current active colorscheme.) The following one-liner intuitively demonstrates this:
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.
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
When I usefc to switch colorschemes,I can't see the change in real time.
So I made some changes