You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
julia-vim-extra-colors doesn't work in begin ... end #313
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?
Activity
carlobaldassi commentedon Jan 12, 2024
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.junyixu commentedon Jan 12, 2024
So is it possible to highlight function in pipe syntax within begin...end blocks?
carlobaldassi commentedon Apr 23, 2024
You can try