0

I have noticed that with

set syntax=off

option set, the gvim screen doesn't flicker when I scroll the page using <PageUp> and <PageDown>.

What are the possible solutions, if some exist, to maintain the colorscheme while having the syntax disabled ?

2

The syntax files define regions of code and links them to highlight groups, which in turn are colored by the colorscheme. So, if you want to keep your colorscheme for more than just ui elements (status/tabline, etc.), you’ll need to syntax enable.

That said, there are a few ways to improve the speed of syntax highlighting. See

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.