JuliaEditorSupport/julia-vim

Syntax highlighting breaks when jumping in file

fredrikekre opened this issue · 1 comments

Example: if I jump from the start of this file https://github.com/fredrikekre/Literate.jl/blob/d561b540e3fb601e63a951671356e71d4389c5f2/src/Literate.jl to e.g. https://github.com/fredrikekre/Literate.jl/blob/d561b540e3fb601e63a951671356e71d4389c5f2/src/Literate.jl#L623 (by searching for execute_block) the result is like this:

Screenshot from 2021-06-30 01-36-18

However, if I go there by scrolling line by line (just holding j) things work:
Screenshot from 2021-06-30 01-37-52

image

Thanks @carlobaldassi !