julia-vim icon indicating copy to clipboard operation
julia-vim copied to clipboard

Highlight code blocks

Open rafaqz opened this issue 8 years ago • 2 comments

Julia makes it really easy to run string macro code blocks for at least R and Matlab. But in vim they are highlighted in all green! It's an impediment to using other languages freely.

Vim markdown has code block highlighting (with g:markdown_fenced_languages etc), could something like that be possible for julia? It may be as easy as copying the markdown highlighting code and changing the regex to match R"""/""" and mat"""/""" and similar.

rafaqz avatar Oct 26 '17 06:10 rafaqz

Seems like it could be a good idea. Care to submit a pull request?

carlobaldassi avatar Oct 28 '17 14:10 carlobaldassi

Ok, see what I can do. It might be a week or two until I get around to it.

rafaqz avatar Oct 29 '17 21:10 rafaqz