Open junyixu opened 10 months ago
I'm not sure how the first "println" in your example is highlighted, the syntax specifications in julia-vim do not highlight it in any way. The extra-colors are only supposed to support parentheses, semicolons, commas, function calls (which are things like println("hello")
, where there is a parenthesis after an identifier, the pipe syntax is not recognized). In my tests they seem to work just fine within begin...end blocks.
I'm not sure how the first "println" in your example is highlighted
hi link juliaParDelim Delimiter
hi link juliaSemicolon Operator
hi link juliaFunctionCall Function
syntax keyword juliaFunction println other_functions
So is it possible to highlight function in pipe syntax within begin...end blocks?
You can try
syntax keyword JuliaFunction containedin=@JuliaExpressions println other_functions