JuliaEditorSupport / julia-vim

Vim support for Julia.
http://julialang.org/
Other
752 stars 94 forks source link

julia-vim syntax highlighting incompatible with rainbow parenthesis #308

Open rpxn opened 1 year ago

rpxn commented 1 year ago

julia-vim syntax highlighting is incompatible with rainbow parenthesis/brackets: https://github.com/luochen1990/rainbow

rainbow is compatible with the syntax highlighting that comes with vim for other languages but with julia-vim within function blocks it reverts to usual julia-vim highlighting.

Others have this problem with a related rainbow parenthesis/brackets plugin: https://discourse.julialang.org/t/julia-vim-and-rainbow-brackets/57180

carlobaldassi commented 1 year ago

This is a long-standing issue, but it's quite difficult to make the two plugins compatible, see this (very old, so I'm not sure how up-to-date it is) comment in a related issue: https://github.com/JuliaEditorSupport/julia-vim/issues/94#issuecomment-275668529