function myfunc(args...) end
macro mymacro(args...) end
macro printf(args...) end
for i in 1:5 myfunc(i) end
for i in 1:5 @mymacro(i) end
for i in 1:5 @printf(i) end
begin
x = 0
while x < 5 myfunc(x += 1) end
x = 0
while x < 5 @mymacro(x += 1) end
x = 0
while x < 5 @printf(x += 1) end
end
begin x = 0; myfunc(x += 1) end
begin x = 0; @mymacro(x += 1) end
begin x = 0; @printf(x += 1) end
Here is an exmple which is a valid Julia program.
With Vim 7.4 on CentOS:
With Vim 8.1 included in Git Bash on Windows: