'When i scroll down in file js or vue on neovim, the colorscheme change to white

when i scroll down in file js or vue on neovim, the colorscheme change to white i don't know the problem. https://i.postimg.cc/W10YqxXg/Grabaci-n-de-pantalla-desde-13-05-22-16-12-13-min.gif



Solution 1:[1]

It would be much easier to figure out your issue if you provided your config in the question.

I'm guessing you are using nvim-treesitter for highlights,
And the plugin is still in beta state and sometimes syntax highlights can be broken.
Especially on a large files and codes with embedded code in other language.

You can fix this temporarily by either restarting Neovim,
or running :write | edit | TSBufEnable highlight to force reload.

source

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 WieeRd